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
1d7f4464
Commit
1d7f4464
authored
Jun 30, 2020
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导医跳转区分入口
parent
3ce007cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
config.gradle
config.gradle
+2
-2
ConsultAssistantCenterActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/ConsultAssistantCenterActivity.kt
+1
-1
ConsultAssistantDialogUtils.kt
m-consultant/src/main/java/com/yidianling/consultant/modular/singlton/ConsultAssistantDialogUtils.kt
+6
-6
No files found.
config.gradle
View file @
1d7f4464
ext
{
kotlin_version
=
"1.3.21"
dev_mode
=
tru
e
dev_mode
=
fals
e
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.48.74"
,
"m-consultant"
:
"0.0.59.
29
"
,
"m-consultant"
:
"0.0.59.
30
"
,
"m-fm"
:
"0.0.30.00"
,
"m-user"
:
"0.0.60.22"
,
"m-home"
:
"0.0.22.20"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/ConsultAssistantCenterActivity.kt
View file @
1d7f4464
...
...
@@ -12,7 +12,7 @@ import com.yidianling.consultant.modular.singlton.ConsultAssistantDialogUtils
class
ConsultAssistantCenterActivity
:
BaseActivity
()
{
override
fun
initDataAndEvent
()
{
supportActionBar
?.
hide
()
ConsultAssistantDialogUtils
.
INSTANCE
.
getConsultAssistantUid
(
this
)
ConsultAssistantDialogUtils
.
INSTANCE
.
getConsultAssistantUid
(
this
,
1
)
}
override
fun
layoutResId
():
Int
{
...
...
m-consultant/src/main/java/com/yidianling/consultant/modular/singlton/ConsultAssistantDialogUtils.kt
View file @
1d7f4464
...
...
@@ -110,7 +110,7 @@ class ConsultAssistantDialogUtils private constructor() {
ActionCountUtils
.
count
(
"main_page|main_daoyi_entry_click"
)
YdlBuryPointUtil
.
sendClick
(
"home_page_assistant_click"
)
ActionCountUtils
.
count
(
"daoyi_advertisement_click"
,
"1"
)
getConsultAssistantUid
(
activity
)
getConsultAssistantUid
(
activity
,
1
)
}
})
...
...
@@ -143,7 +143,7 @@ class ConsultAssistantDialogUtils private constructor() {
override
fun
onClickAction
()
{
//获取用户uid
ActionCountUtils
.
count
(
"daoyi_advertisement_click"
,
"4"
)
getConsultAssistantUid
(
activity
)
getConsultAssistantUid
(
activity
,
4
)
}
})
...
...
@@ -204,7 +204,7 @@ class ConsultAssistantDialogUtils private constructor() {
ConsultantIn
.
toLogin
(
activity
)
}
else
{
//获取用户uid
getConsultAssistantUid
(
activity
)
getConsultAssistantUid
(
activity
,
6
)
}
}
...
...
@@ -226,7 +226,7 @@ class ConsultAssistantDialogUtils private constructor() {
ConsultantIn
.
toLogin
(
activity
)
}
else
{
//获取用户uid
getConsultAssistantUid
(
activity
)
getConsultAssistantUid
(
activity
,
6
)
}
}
...
...
@@ -284,8 +284,8 @@ class ConsultAssistantDialogUtils private constructor() {
////////////////////////////////////// 咨询师列表页面的展示隐藏逻辑 代码块end ///////////////////////////////////////////////////
@SuppressLint
(
"CheckResult"
)
fun
getConsultAssistantUid
(
activity
:
Activity
)
{
ActionCountUtils
.
count
(
ConsultBIConstants
.
POSITION_DAOYI_ADVERTISEMENT_CLICK
,
"1"
)
fun
getConsultAssistantUid
(
activity
:
Activity
,
location
:
Int
)
{
ActionCountUtils
.
count
(
ConsultBIConstants
.
POSITION_DAOYI_ADVERTISEMENT_CLICK
,
location
.
toString
()
)
// 请求接口获取咨询助理的uid
SearchApi
.
getSearchApi
().
getConsultAssistantUidRequest
(
1
)
.
subscribeOn
(
Schedulers
.
io
())
...
...
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