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
2325843e
Commit
2325843e
authored
Nov 20, 2020
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:搜索页导医分流
parent
54aa065c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
config.gradle
config.gradle
+1
-1
HotSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/HotSearchActivity.kt
+1
-1
ConsultantServiceImp.kt
m-consultant/src/main/java/com/yidianling/consultant/modular/ConsultantServiceImp.kt
+1
-1
ConsultAssistantEntryUtils.kt
m-consultant/src/main/java/com/yidianling/consultant/modular/utils/ConsultAssistantEntryUtils.kt
+3
-3
No files found.
config.gradle
View file @
2325843e
...
...
@@ -6,7 +6,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.48.86"
,
"m-consultant"
:
"0.0.59.
39
"
,
"m-consultant"
:
"0.0.59.
40
"
,
"m-fm"
:
"0.0.30.00"
,
"m-user"
:
"0.0.60.37"
,
"m-home"
:
"0.0.22.33"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/HotSearchActivity.kt
View file @
2325843e
...
...
@@ -126,7 +126,7 @@ class HotSearchActivity : BaseMvpActivity<IHotSearchContract.View, IHotSearchCon
iv_daoyi_image
.
setOnClickListener
{
LogUtil
.
e
(
"跳转导医:location=${data?.get(0)!!.location},title=${data[0].title}"
)
ConsultAssistantEntryUtils
.
jumpConsultAssistant
(
this
,
data
?.
get
(
0
)
!!
.
location
.
toInt
())
ConsultAssistantEntryUtils
.
jumpConsultAssistant
(
this
,
data
?.
get
(
0
)
!!
.
location
.
toInt
()
,
"learning"
)
}
}
...
...
m-consultant/src/main/java/com/yidianling/consultant/modular/ConsultantServiceImp.kt
View file @
2325843e
...
...
@@ -115,7 +115,7 @@ class ConsultantServiceImp : IConsultantService {
}
override
fun
jumpConsultAssistant
(
activity
:
Activity
,
location
:
Int
)
{
ConsultAssistantEntryUtils
.
jumpConsultAssistant
(
activity
,
location
)
ConsultAssistantEntryUtils
.
jumpConsultAssistant
(
activity
,
location
,
null
)
}
override
fun
dueToTypeJumpAutoOrGuide
(
activity
:
Activity
,
location
:
Int
,
doctorId
:
Int
,
url
:
String
)
{
...
...
m-consultant/src/main/java/com/yidianling/consultant/modular/utils/ConsultAssistantEntryUtils.kt
View file @
2325843e
...
...
@@ -22,7 +22,7 @@ import io.reactivex.schedulers.Schedulers
class
ConsultAssistantEntryUtils
{
companion
object
{
@SuppressLint
(
"CheckResult"
)
fun
jumpConsultAssistant
(
activity
:
Activity
,
location
:
Int
)
{
fun
jumpConsultAssistant
(
activity
:
Activity
,
location
:
Int
,
ffrom2
:
String
?
)
{
ActionCountUtils
.
count
(
ConsultBIConstants
.
POSITION_DAOYI_ADVERTISEMENT_CLICK
,
"$location"
...
...
@@ -32,7 +32,7 @@ class ConsultAssistantEntryUtils {
ConsultantIn
.
toLogin
(
activity
)
}
else
{
// 请求接口获取咨询助理的uid
SearchApi
.
getSearchApi
().
getConsultAssistantUidRequest
(
location
,
null
)
SearchApi
.
getSearchApi
().
getConsultAssistantUidRequest
(
location
,
ffrom2
)
.
subscribeOn
(
Schedulers
.
io
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
(
Consumer
{
...
...
@@ -87,7 +87,7 @@ class ConsultAssistantEntryUtils {
}
2
->{
jumpConsultAssistant
(
activity
,
location
)
jumpConsultAssistant
(
activity
,
location
,
null
)
}
else
->{
jumpToAutoTalk
(
activity
,
doctorUid
)
...
...
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