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
27f26235
Commit
27f26235
authored
Mar 26, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:首页导医未登录状态下展示
parent
c5d56965
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
config.gradle
config.gradle
+2
-2
ConsultAssistantDialogUtils.kt
m-consultant/src/main/java/com/yidianling/consultant/modular/singlton/ConsultAssistantDialogUtils.kt
+7
-9
No files found.
config.gradle
View file @
27f26235
...
...
@@ -6,7 +6,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.37"
,
"m-consultant"
:
"0.0.60.0
3
"
,
"m-consultant"
:
"0.0.60.0
4
"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.94"
,
"m-home"
:
"0.0.22.92"
,
...
...
@@ -89,7 +89,7 @@ ext {
//第三步 若干
"m-confide"
:
"0.0.49.37"
,
"m-consultant"
:
"0.0.60.0
3
"
,
"m-consultant"
:
"0.0.60.0
4
"
,
"m-fm"
:
"0.0.30.07"
,
"m-user"
:
"0.0.61.94"
,
"m-home"
:
"0.0.22.92"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/modular/singlton/ConsultAssistantDialogUtils.kt
View file @
27f26235
...
...
@@ -52,11 +52,7 @@ class ConsultAssistantDialogUtils private constructor() {
fun
fitRequest
(
activity
:
Activity
,
origin
:
String
,
fromActivity
:
Boolean
=
false
)
{
when
(
origin
)
{
"home_index"
->
{
if
(
ConsultantIn
.
isLogin
()
&&
ConsultantIn
.
getUserImpl
().
getUserInfo
()
?.
user_type
==
1
)
{
shouldShowDialog
(
activity
,
origin
)
}
shouldShowDialog
(
activity
,
origin
)
}
"doctor_list"
->
{
if
(!
ConsultantIn
.
isLogin
()
||
(
ConsultantIn
.
getUserImpl
()
...
...
@@ -118,10 +114,12 @@ class ConsultAssistantDialogUtils private constructor() {
if
(
Utils
.
isFastClick
())
{
return
onClickAction
()
}
//获取用户uid
ActionCountUtils
.
count
(
"main_page|main_daoyi_entry_click"
)
YdlBuryPointUtil
.
sendClick
(
"home_page_assistant_click"
)
getConsultAssistantUid
(
""
,
activity
,
1
)
if
(
ConsultantIn
.
getUserImpl
().
loginByOneKeyLogin
(
activity
,
true
)){
//获取用户uid
ActionCountUtils
.
count
(
"main_page|main_daoyi_entry_click"
)
YdlBuryPointUtil
.
sendClick
(
"home_page_assistant_click"
)
getConsultAssistantUid
(
""
,
activity
,
1
)
}
}
})
...
...
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