Commit 1d7f4464 by 严久程

导医跳转区分入口

parent 3ce007cb
ext {
kotlin_version = "1.3.21"
dev_mode = true
dev_mode = false
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",
......
......@@ -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 {
......
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment