Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
dcc2409d
Commit
dcc2409d
authored
Nov 05, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:埋点
parent
4fd92763
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
6 deletions
+20
-6
config.gradle
config.gradle
+4
-4
YdlHomeFragment.kt
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+15
-2
NewMultiMessageFragment.kt
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
+1
-0
No files found.
config.gradle
View file @
dcc2409d
...
...
@@ -9,8 +9,8 @@ ext {
"m-consultant"
:
"0.0.60.01"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.81"
,
"m-home"
:
"0.0.22.8
1
"
,
"m-im"
:
"0.0.20.0
4
"
,
"m-home"
:
"0.0.22.8
2
"
,
"m-im"
:
"0.0.20.0
5
"
,
"m-dynamic"
:
"0.0.7.34"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -92,8 +92,8 @@ ext {
"m-consultant"
:
"0.0.60.01"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.81"
,
"m-home"
:
"0.0.22.8
1
"
,
"m-im"
:
"0.0.20.0
4
"
,
"m-home"
:
"0.0.22.8
2
"
,
"m-im"
:
"0.0.20.0
5
"
,
"m-dynamic"
:
"0.0.7.34"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
dcc2409d
...
...
@@ -498,8 +498,12 @@ open class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterIm
showConsultAssistantDialog
()
}
else
{
hideConsultAssistantDialog
()
endTime
=
System
.
currentTimeMillis
()
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_HOME_DWELL_TIME
,(
endTime
-
startTime
).
toString
())
if
(
startTime
!=
0L
){
endTime
=
System
.
currentTimeMillis
()
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_HOME_DWELL_TIME
,(
endTime
-
startTime
).
toString
())
startTime
=
0L
}
}
if
(
isVisibleToUser
&&
isResumed
)
{
onResume
()
...
...
@@ -532,6 +536,15 @@ open class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterIm
}
}
override
fun
onPause
()
{
super
.
onPause
()
if
(
startTime
!=
0L
){
endTime
=
System
.
currentTimeMillis
()
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_HOME_DWELL_TIME
,(
endTime
-
startTime
).
toString
())
startTime
=
0L
}
}
/**
* 咨询楼层tablayout
*/
...
...
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
View file @
dcc2409d
...
...
@@ -126,6 +126,7 @@ class NewMultiMessageFragment : BaseFragment() {
"ydl_user_message_page|ydl_user_message_page_stay_visit"
,
String
.
valueOf
(
endTime
-
startTime
)
)
startTime
=
0L
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment