Commit 27f26235 by 霍志良

feat:首页导医未登录状态下展示

parent c5d56965
...@@ -6,7 +6,7 @@ ext { ...@@ -6,7 +6,7 @@ ext {
// -------------- 业务模块 -------------- // -------------- 业务模块 --------------
//第三步 若干 //第三步 若干
"m-confide" : "0.0.49.37", "m-confide" : "0.0.49.37",
"m-consultant" : "0.0.60.03", "m-consultant" : "0.0.60.04",
"m-fm" : "0.0.30.04", "m-fm" : "0.0.30.04",
"m-user" : "0.0.61.94", "m-user" : "0.0.61.94",
"m-home" : "0.0.22.92", "m-home" : "0.0.22.92",
...@@ -89,7 +89,7 @@ ext { ...@@ -89,7 +89,7 @@ ext {
//第三步 若干 //第三步 若干
"m-confide" : "0.0.49.37", "m-confide" : "0.0.49.37",
"m-consultant" : "0.0.60.03", "m-consultant" : "0.0.60.04",
"m-fm" : "0.0.30.07", "m-fm" : "0.0.30.07",
"m-user" : "0.0.61.94", "m-user" : "0.0.61.94",
"m-home" : "0.0.22.92", "m-home" : "0.0.22.92",
......
...@@ -52,12 +52,8 @@ class ConsultAssistantDialogUtils private constructor() { ...@@ -52,12 +52,8 @@ class ConsultAssistantDialogUtils private constructor() {
fun fitRequest(activity: Activity, origin: String, fromActivity: Boolean = false) { fun fitRequest(activity: Activity, origin: String, fromActivity: Boolean = false) {
when (origin) { when (origin) {
"home_index" -> { "home_index" -> {
if (ConsultantIn.isLogin() &&
ConsultantIn.getUserImpl().getUserInfo()?.user_type == 1
) {
shouldShowDialog(activity, origin) shouldShowDialog(activity, origin)
} }
}
"doctor_list" -> { "doctor_list" -> {
if (!ConsultantIn.isLogin() || (ConsultantIn.getUserImpl() if (!ConsultantIn.isLogin() || (ConsultantIn.getUserImpl()
.getUserInfo()?.user_type == 1 && ConsultantIn.isLogin()) .getUserInfo()?.user_type == 1 && ConsultantIn.isLogin())
...@@ -118,11 +114,13 @@ class ConsultAssistantDialogUtils private constructor() { ...@@ -118,11 +114,13 @@ class ConsultAssistantDialogUtils private constructor() {
if (Utils.isFastClick()) { if (Utils.isFastClick()) {
return onClickAction() return onClickAction()
} }
if (ConsultantIn.getUserImpl().loginByOneKeyLogin(activity,true)){
//获取用户uid //获取用户uid
ActionCountUtils.count("main_page|main_daoyi_entry_click") ActionCountUtils.count("main_page|main_daoyi_entry_click")
YdlBuryPointUtil.sendClick("home_page_assistant_click") YdlBuryPointUtil.sendClick("home_page_assistant_click")
getConsultAssistantUid("", activity, 1) getConsultAssistantUid("", activity, 1)
} }
}
}) })
} }
......
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