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
9c319ead
Commit
9c319ead
authored
Apr 27, 2021
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 咨询列表接口更换为新接口
parent
79dc8a81
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
ExpertSearchHttpImpl.kt
m-consultant/src/main/java/com/yidianling/consultant/http/ExpertSearchHttpImpl.kt
+1
-1
HomeBasePagerApi.kt
m-home/src/main/java/com/yidianling/home/http/HomeBasePagerApi.kt
+1
-1
YdlHomeFragment.kt
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+6
-6
No files found.
m-consultant/src/main/java/com/yidianling/consultant/http/ExpertSearchHttpImpl.kt
View file @
9c319ead
...
@@ -46,7 +46,7 @@ class ExpertSearchHttpImpl : IExpertSearchHttp {
...
@@ -46,7 +46,7 @@ class ExpertSearchHttpImpl : IExpertSearchHttp {
}
}
override
fun
searchDoctor
(
params
:
String
?):
Observable
<
BaseAPIResponse
<
ExpertSearchBean
>>
{
override
fun
searchDoctor
(
params
:
String
?):
Observable
<
BaseAPIResponse
<
ExpertSearchBean
>>
{
return
getSearchApi
().
searchDoctorService
(
HttpConfig
.
JAVA_BASE_URL
+
"doctor/list?"
+
params
)
return
getSearchApi
().
searchDoctorService
(
HttpConfig
.
JAVA_BASE_URL
+
"doctor/
n
list?"
+
params
)
}
}
...
...
m-home/src/main/java/com/yidianling/home/http/HomeBasePagerApi.kt
View file @
9c319ead
...
@@ -31,7 +31,7 @@ interface HomeBasePagerApi {
...
@@ -31,7 +31,7 @@ interface HomeBasePagerApi {
* 首页咨询请求
* 首页咨询请求
* goodType 为空或不传 则获取默认类型数据
* goodType 为空或不传 则获取默认类型数据
*/
*/
@GET
(
"doctor/list"
)
@GET
(
"doctor/
n
list"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_JAVA
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_JAVA
)
fun
getConsultData
(
fun
getConsultData
(
@Query
(
"categories"
)
category
:
String
,
@Query
(
"categories"
)
category
:
String
,
...
...
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
9c319ead
...
@@ -277,12 +277,12 @@ open class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterIm
...
@@ -277,12 +277,12 @@ open class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterIm
* 设置悬浮顶部监听数据
* 设置悬浮顶部监听数据
*/
*/
private
fun
setSuspendListener
()
{
private
fun
setSuspendListener
()
{
scrollListner
?
.
setContext
(
mContext
)
scrollListner
.
setContext
(
mContext
)
scrollListner
?
.
setHomeView
(
this
)
scrollListner
.
setHomeView
(
this
)
scrollListner
?
.
setConfideFilterView
(
ll_layout
)
scrollListner
.
setConfideFilterView
(
ll_layout
)
scrollListner
?
.
setConsultFilterView
(
ll_consultLayout
)
scrollListner
.
setConsultFilterView
(
ll_consultLayout
)
scrollListner
?
.
setSectionAdapter
(
adapter
!!
)
scrollListner
.
setSectionAdapter
(
adapter
!!
)
scrollListner
?
.
setPhoneCallImageView
(
home_service_call
)
scrollListner
.
setPhoneCallImageView
(
home_service_call
)
}
}
/**
/**
...
...
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