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
2c6810f1
Commit
2c6810f1
authored
Nov 04, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:埋点
parent
b534c7aa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
20 deletions
+29
-20
config.gradle
config.gradle
+8
-8
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+5
-3
TrendsHomeFragment.java
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/TrendsHomeFragment.java
+5
-2
NewMultiMessageFragment.kt
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
+7
-5
MineFragment.java
m-user/src/main/java/com/yidianling/user/mine/MineFragment.java
+4
-2
No files found.
config.gradle
View file @
2c6810f1
...
...
@@ -6,12 +6,12 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.13"
,
"m-consultant"
:
"0.0.
59.99
"
,
"m-consultant"
:
"0.0.
60.00
"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.7
8
"
,
"m-user"
:
"0.0.61.7
9
"
,
"m-home"
:
"0.0.22.80"
,
"m-im"
:
"0.0.
19.99
"
,
"m-dynamic"
:
"0.0.7.3
2
"
,
"m-im"
:
"0.0.
20.00
"
,
"m-dynamic"
:
"0.0.7.3
4
"
,
"m-article"
:
"0.0.0.10"
,
"m-muse"
:
"0.0.28.24"
,
...
...
@@ -89,12 +89,12 @@ ext {
//第三步 若干
"m-confide"
:
"0.0.49.13"
,
"m-consultant"
:
"0.0.
59.99
"
,
"m-consultant"
:
"0.0.
60.00
"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.7
8
"
,
"m-user"
:
"0.0.61.7
9
"
,
"m-home"
:
"0.0.22.80"
,
"m-im"
:
"0.0.
19.99
"
,
"m-dynamic"
:
"0.0.7.3
2
"
,
"m-im"
:
"0.0.
20.00
"
,
"m-dynamic"
:
"0.0.7.3
4
"
,
"m-article"
:
"0.0.0.8"
,
"m-muse"
:
"0.0.28.24"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
2c6810f1
...
...
@@ -333,9 +333,11 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
showConsultAssistantDialog
()
}
else
{
hideConsultAssistantDialog
()
endTime
=
System
.
currentTimeMillis
()
ActionCountUtils
.
count
(
ConsultBIConstants
.
ConsultEvent
.
YDL_USER_CONSULT_PAGE_STAY_VISIT
,(
endTime
-
startTime
).
toString
())
}
if
(
startTime
!=
0L
){
endTime
=
System
.
currentTimeMillis
()
ActionCountUtils
.
count
(
ConsultBIConstants
.
ConsultEvent
.
YDL_USER_CONSULT_PAGE_STAY_VISIT
,(
endTime
-
startTime
).
toString
())
}
}
if
(
isVisibleToUser
&&
isResumed
)
{
onResume
()
}
...
...
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/TrendsHomeFragment.java
View file @
2c6810f1
...
...
@@ -21,6 +21,7 @@ import com.alibaba.android.arouter.facade.annotation.Route;
import
com.ydl.ydl_image.module.GlideApp
;
import
com.ydl.ydlcommon.base.BaseFragment
;
import
com.ydl.ydlcommon.utils.BuryPointUtils
;
import
com.ydl.ydlcommon.utils.LogUtil
;
import
com.ydl.ydlcommon.utils.ScreenUtil
;
import
com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
;
import
com.yidianling.common.tools.RxDeviceTool
;
...
...
@@ -229,8 +230,10 @@ public class TrendsHomeFragment extends BaseFragment implements ITrendHomeView,
startTime
=
System
.
currentTimeMillis
();
ActionCountUtils
.
Companion
.
count
(
YDL_USER_ASK_PAGE_VISIT
);
}
else
{
endTime
=
System
.
currentTimeMillis
();
ActionCountUtils
.
Companion
.
count
(
YDL_USER_ASK_PAGE_STAY_VISIT
,
String
.
valueOf
(
endTime
-
startTime
));
if
(
startTime
!=
0L
){
endTime
=
System
.
currentTimeMillis
();
ActionCountUtils
.
Companion
.
count
(
YDL_USER_ASK_PAGE_STAY_VISIT
,
String
.
valueOf
(
endTime
-
startTime
));
}
}
if
(
isVisibleToUser
&&
isResumed
())
{
onResume
();
...
...
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
View file @
2c6810f1
...
...
@@ -114,11 +114,13 @@ class NewMultiMessageFragment : BaseFragment() {
getMsgData
()
}
else
{
endTime
=
System
.
currentTimeMillis
()
count
(
"ydl_user_message_page|ydl_user_message_page_stay_visit"
,
String
.
valueOf
(
endTime
-
startTime
)
)
if
(
startTime
!=
0L
){
endTime
=
System
.
currentTimeMillis
()
count
(
"ydl_user_message_page|ydl_user_message_page_stay_visit"
,
String
.
valueOf
(
endTime
-
startTime
)
)
}
}
}
...
...
m-user/src/main/java/com/yidianling/user/mine/MineFragment.java
View file @
2c6810f1
...
...
@@ -208,8 +208,10 @@ public class MineFragment extends BaseFragment implements SwipeRefreshLayout.OnR
ActionCountUtils
.
Companion
.
count
(
YDL_USER_MY_PAGE_VISIT
);
showConsultAssistantDialog
();
}
else
{
endTime
=
System
.
currentTimeMillis
();
ActionCountUtils
.
Companion
.
count
(
YDL_USER_MY_PAGE_STAY_VISIT
,
String
.
valueOf
(
endTime
-
startTime
));
if
(
startTime
!=
0L
){
endTime
=
System
.
currentTimeMillis
();
ActionCountUtils
.
Companion
.
count
(
YDL_USER_MY_PAGE_STAY_VISIT
,
String
.
valueOf
(
endTime
-
startTime
));
}
hideConsultAssistantDialog
();
}
if
(
isVisibleToUser
&&
isResumed
())
{
...
...
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