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
21de161c
Commit
21de161c
authored
5 years ago
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户端首页组件化基本完成,剩余一个RouterManager待修改
parent
7743929c
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
15 additions
and
16 deletions
+15
-16
DemoAppLifecycles.java
app/src/main/java/com/ydl/component/base/DemoAppLifecycles.java
+2
-2
modular.gradle
m-consultant/modular.gradle
+1
-1
build.gradle
m-home/build.gradle
+1
-0
home_data.json
m-home/src/main/assets/home_data.json
+1
-1
HomeImpl.kt
m-home/src/ydl/java/com/yidianling/home/event/HomeImpl.kt
+4
-2
HomeConsultBean.kt
m-home/src/ydl/java/com/yidianling/home/model/bean/HomeConsultBean.kt
+1
-1
HomeHeaderBean.kt
m-home/src/ydl/java/com/yidianling/home/model/bean/HomeHeaderBean.kt
+1
-1
HomePresenterImpl.kt
m-home/src/ydl/java/com/yidianling/home/presenter/HomePresenterImpl.kt
+2
-4
YdlHomeFragment.kt
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+0
-1
HomeAssuageGriefItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefItemView.kt
+0
-1
HomeConsultItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
+1
-1
modular.gradle
m-tests/modular.gradle
+1
-1
No files found.
app/src/main/java/com/ydl/component/base/DemoAppLifecycles.java
View file @
21de161c
...
@@ -86,9 +86,9 @@ public class DemoAppLifecycles implements IAppLifecycles {
...
@@ -86,9 +86,9 @@ public class DemoAppLifecycles implements IAppLifecycles {
//数据埋点初始化--一定要放在主进程中
//数据埋点初始化--一定要放在主进程中
YdlBuryPointUtil
.
init
(
application
);
YdlBuryPointUtil
.
init
(
application
);
if
(
DemoGlobalConfig
.
appEnv
.
equals
(
YDLConstants
.
ENV_PROD
)){
if
(
DemoGlobalConfig
.
appEnv
.
equals
(
YDLConstants
.
ENV_PROD
)){
YDLavManager
.
Companion
.
getInstances
().
init
(
application
,
"3387e9b251f3491e9221a9877e8f7830"
);
//
YDLavManager.Companion.getInstances().init(application, "3387e9b251f3491e9221a9877e8f7830");
}
else
{
}
else
{
YDLavManager
.
Companion
.
getInstances
().
init
(
application
,
"13b1536698f64905a1e7e5bb978ba821"
);
//
YDLavManager.Companion.getInstances().init(application, "13b1536698f64905a1e7e5bb978ba821");
}
}
//bugly
//bugly
...
...
This diff is collapsed.
Click to expand it.
m-consultant/modular.gradle
View file @
21de161c
...
@@ -24,7 +24,7 @@ modular {
...
@@ -24,7 +24,7 @@ modular {
groupId
=
"com.ydl"
groupId
=
"com.ydl"
artifactId
=
"m-consultant-api"
artifactId
=
"m-consultant-api"
//开发时注释掉版本号,发布api时打开
//开发时注释掉版本号,发布api时打开
version
=
rootProject
.
ext
.
ydlPublishVersion
[
childProject
.
getName
()+
"-api"
]
//
version = rootProject.ext.ydlPublishVersion[childProject.getName()+"-api"]
// API 层打包时需要引入的依赖
// API 层打包时需要引入的依赖
apiDependencies
{
apiDependencies
{
implementation
"com.google.code.gson:gson:2.8.2"
implementation
"com.google.code.gson:gson:2.8.2"
...
...
This diff is collapsed.
Click to expand it.
m-home/build.gradle
View file @
21de161c
...
@@ -70,6 +70,7 @@ dependencies {
...
@@ -70,6 +70,7 @@ dependencies {
//开发时使用
//开发时使用
implementation
modularPublication
(
'com.ydl:m-consultant-api'
)
implementation
modularPublication
(
'com.ydl:m-consultant-api'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
implementation
modularPublication
(
'com.ydl:m-tests-api'
)
implementation
project
(
':ydl-webview'
)
implementation
project
(
':ydl-webview'
)
implementation
project
(
':ydl-media'
)
implementation
project
(
':ydl-media'
)
implementation
project
(
":ydl-platform"
)
implementation
project
(
":ydl-platform"
)
...
...
This diff is collapsed.
Click to expand it.
m-home/src/main/assets/home_data.json
View file @
21de161c
[{
"headerBean"
:{
"askCategoryData"
:[{
"cateId"
:
1
,
"cateTitle"
:
"恋爱咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/eusz6pcbf8zaou1e.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d1
\u
0026"
},{
"cateId"
:
1
,
"cateTitle"
:
"婚姻咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/35kd8ih9fiwgv16r.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
23
,
"cateTitle"
:
"亲子教育"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/09/05/09mwdfydytsdg1gt.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d23
\u
0026"
},{
"cateId"
:
25
,
"cateTitle"
:
"人际关系"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/d6xi5o3ii3lsy4yr.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d25
\u
0026"
},{
"cateId"
:
27
,
"cateTitle"
:
"情绪压力"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/no02u0gfo1kgzt8y.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
22
,
"cateTitle"
:
"职场心理"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/ra5tbfuo05upjl66.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d22
\u
0026"
},{
"cateId"
:
26
,
"cateTitle"
:
"个人成长"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/09/05/ge29bumccrtykv9r.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d26
\u
0026"
},{
"cateId"
:
229
,
"cateTitle"
:
"法律咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2019/04/02/ofb8othapbpkb6zx.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d229
\u
0026"
},{
"cateId"
:
1
,
"cateTitle"
:
"情感挽回"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2019/04/03/7zhoecx4amc23gah.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
0
,
"cateTitle"
:
"全部"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/xoo4q3k6irtrhsjc.png"
,
"url"
:
"https://h2.yidianling.com/experts/cates"
}],
"consultCategoryData"
:[{
"id"
:
1
,
"name"
:
"恋爱咨询"
},{
"id"
:
1
,
"name"
:
"婚姻咨询"
},{
"id"
:
23
,
"name"
:
"亲子教育"
},{
"id"
:
25
,
"name"
:
"人际关系"
},{
"id"
:
27
,
"name"
:
"情绪压力"
},{
"id"
:
22
,
"name"
:
"职场心理"
},{
"id"
:
26
,
"name"
:
"个人成长"
}],
"doctorName"
:
""
,
"focusList"
:[{
"focId"
:
11405
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/22/b4wgh83z4tr962a0.jpg"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/22/7z7mzwfnx7zp6ke5.jpg"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fjvyux2jq%22%7D"
,
"shareData"
:{
"title"
:
"钟媛媛 明星咨询师推荐"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/22/7z7mzwfnx7zp6ke5.jpg"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"钟媛媛 明星咨询师推荐"
},{
"focId"
:
11284
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/17/3wyxa3dqzrrxdema.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/17/jmtc5w1jzzk77hva.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fjtnzsdmg%22%7D"
,
"shareData"
:{
"title"
:
"人气咨询师排行榜-壹点灵"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/17/jmtc5w1jzzk77hva.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"人气咨询师排行榜-壹点灵"
},{
"focId"
:
11130
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/09/eije5jwiyjcyyub6.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/09/5cwmsbzfydshzh92.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fydlaplus1%22%7D"
,
"shareData"
:{
"title"
:
"A++融资公告"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/09/5cwmsbzfydshzh92.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"A++融资公告"
},{
"focId"
:
10853
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/24/pgx73v43ty9zzcn0.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/24/synob5zlakccjcb5.png"
,
"linkUrl"
:
"ydl-user://h5/confide?params
\u
003d%7b%22url%22%3a%22https%3a%2f%2fwebapp2.ydl.com%2factivity%2flisten%2fcoupon%22%7d"
,
"shareData"
:{
"title"
:
"128元倾诉新用户活动"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/24/synob5zlakccjcb5.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"128元倾诉新用户活动"
},{
"focId"
:
10730
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/11/str4mvjunwuul5lq.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/11/jluqy3kasv2fl63b.png"
,
"linkUrl"
:
"ydl-user://h5/confide?params
\u
003d%7b%22url%22%3a%22https%3a%2f%2fh5.ydl.com%2fconfideMatch%22%7d"
,
"shareData"
:{
"title"
:
"一键倾诉"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/11/jluqy3kasv2fl63b.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"一键倾诉"
},{
"focId"
:
10131
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/24/bedrm9rjwflt2vhd.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/24/6n2pb6n6ctipmvux.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwebapp.ydl.com%2Ffe-app-yidianling%2Fcourse%2Fdetail%2F2757%22%7D"
,
"shareData"
:{
"title"
:
"【重磅课程】丁Sir说挽回:像心理学家一样去挽回"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/24/6n2pb6n6ctipmvux.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"【重磅课程】丁Sir说挽回:像心理学家一样去挽回"
},{
"focId"
:
906
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/01/30/xt55wf76k13c8qb6.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/01/30/gvca1sh5xg5ao85w.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fct%2Flist%3F%22%7D"
,
"shareData"
:{
"title"
:
"免费体验"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/01/30/gvca1sh5xg5ao85w.png"
,
"desc"
:
""
,
"shareUrl"
:
"https://h2.yidianling.com/ct/list?"
},
"title"
:
"免费体验"
},{
"focId"
:
11519
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/27/dc09x8zkkbhyfc21.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/27/v5k0yg761a8qxv25.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fzhiyeceshi%22%7D"
,
"shareData"
:{
"title"
:
"职场晋升攻略"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/27/v5k0yg761a8qxv25.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"职场晋升攻略"
},{
"focId"
:
11133
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/15/bojyl3stwslfgct0.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/15/o5cpxtbgpxv6a7ry.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwjwlkj.wjx.cn%2Fjq%2F39247133.aspx%22%7D"
,
"shareData"
:{
"title"
:
"亲密关系问卷"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/15/o5cpxtbgpxv6a7ry.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"亲密关系问卷"
},{
"focId"
:
9714
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/05/73s6p5r7zk7u6b4u.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/05/1agqihpp9o8w276v.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwebapp.ydl.com%2Ffe-app-yidianling%2Fcourse%2Fdetail%2F3029%22%7D"
,
"shareData"
:{
"title"
:
"【【新课推荐】读心术,读懂你的另一半"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/05/1agqihpp9o8w276v.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"【【新课推荐】读心术,读懂你的另一半"
}],
"homeSaleData"
:[{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:19:30 PM"
,
"doctorId"
:
4422
,
"doctorName"
:
"段宁"
,
"nickName"
:
"y**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F4422%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:22:23 PM"
,
"doctorId"
:
9295
,
"doctorName"
:
"朱礼火"
,
"nickName"
:
"老**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F9295%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:30:15 PM"
,
"doctorId"
:
5954
,
"doctorName"
:
"吴杰"
,
"nickName"
:
""
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F5954%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:34:51 PM"
,
"doctorId"
:
1261
,
"doctorName"
:
"吴立秀"
,
"nickName"
:
"M**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F1261%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:34:53 PM"
,
"doctorId"
:
10330
,
"doctorName"
:
"徐听"
,
"nickName"
:
""
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F10330%22%7D"
}],
"keywordData"
:[{
"id"
:
5
,
"keyword"
:
"性心理"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%80%A7%26%22%7D"
},{
"id"
:
2
,
"keyword"
:
"抑郁"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%8A%91%E9%83%81%26%22%7D"
},{
"id"
:
3
,
"keyword"
:
"焦虑"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E7%84%A6%E8%99%91%26%22%7D"
},{
"id"
:
4
,
"keyword"
:
"婚姻挽回"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%A9%9A%E5%A7%BB%26%22%7D"
},{
"id"
:
8
,
"keyword"
:
"早恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%97%A9%E6%81%8B%26%22%7D"
},{
"id"
:
6
,
"keyword"
:
"同性恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%90%8C%E6%80%A7%E6%81%8B%26%22%7D"
},{
"id"
:
7
,
"keyword"
:
"出轨"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%87%BA%E8%BD%A8%26%22%7D"
},{
"id"
:
1
,
"keyword"
:
"失恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%81%8B%26%22%7D"
},{
"id"
:
9
,
"keyword"
:
"情感修复"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch2%3Fsearch_word%3D%E6%83%85%E6%84%9F%E4%BF%AE%E5%A4%8D%26%22%7D"
}],
"listenCategoryDate"
:[{
"id"
:
1
,
"name"
:
"恋爱"
},{
"id"
:
2
,
"name"
:
"婚姻家庭"
},{
"id"
:
3
,
"name"
:
"陪聊治愈"
},{
"id"
:
4
,
"name"
:
"情绪压力"
},{
"id"
:
5
,
"name"
:
"亲子教育"
},{
"id"
:
7
,
"name"
:
"职业"
},{
"id"
:
8
,
"name"
:
"人际"
},{
"id"
:
9
,
"name"
:
"个人成长"
}],
"isRealEmpty"
:
false
},
"type"
:
10001
},{
"type"
:
10002
},{
"consultBean"
:{
"endRow"
:
3
,
"isHasNextPage"
:
false
,
"isHasPreviousPage"
:
false
,
"isIsFirstPage"
:
false
,
"isIsLastPage"
:
false
,
"list"
:[{
"city"
:
"唐山"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/10/vw6sx2i72exvbr95.jpg!s120x120"
,
"doctorId"
:
1261
,
"doctorName"
:
"吴立秀"
,
"doctorUid"
:
49874
,
"feedbackRate"
:
99.8
,
"hUrl"
:
"https://h2.yidianling.com/experts/1261"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/1261"
,
"profesBack"
:
"二级心理咨询师
\r\n
三级心理咨询师
\r\n
壹点灵签约心理咨询师
\r\n
中科院心理研究所心理学研究生在读"
,
"province"
:
"河北省"
,
"serviceFee"
:
175
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/10/vw6sx2i72exvbr95.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/1261"
,
"title"
:
"吴立秀咨询工作室"
},
"tags"
:
[
"恋爱情感"
,
"婚姻家庭"
,
"个人成长"
],
"zixunOrderNum"
:
7978
},{
"city"
:
"温州"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"doctorId"
:
1131
,
"doctorName"
:
"朱静"
,
"doctorUid"
:
34649
,
"feedbackRate"
:
99.7
,
"hUrl"
:
"https://h2.yidianling.com/experts/1131"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/1131"
,
"profesBack"
:
"三级心理咨询师"
,
"province"
:
"浙江省"
,
"serviceFee"
:
250
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/1131"
,
"title"
:
"朱静咨询工作室"
},
"tags"
:[
"恋爱婚姻"
,
"情绪压力"
,
"人际关系"
],
"zixunOrderNum"
:
7431
},{
"city"
:
"苏州"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/08/vp663mvqvf193phi.jpg!s120x120"
,
"doctorId"
:
7387
,
"doctorName"
:
"钟媛媛"
,
"doctorUid"
:
1915807
,
"feedbackRate"
:
99.9
,
"hUrl"
:
"https://h2.yidianling.com/experts/7387"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/7387"
,
"profesBack"
:
"三级心理咨询师"
,
"province"
:
"江苏省"
,
"serviceFee"
:
150
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/08/vp663mvqvf193phi.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/7387"
,
"title"
:
"钟媛媛咨询工作室"
},
"tags"
:[
"恋爱婚姻"
,
"情绪压力"
,
"个人成长"
]
,
"zixunOrderNum"
:
1135
}],
"navigateFirstPage"
:
1
,
"navigateLastPage"
:
8
,
"navigatePages"
:
8
,
"navigatepageNums"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
"nextPage"
:
2
,
"pageNum"
:
1
,
"pageSize"
:
3
,
"pages"
:
2034
,
"prePage"
:
0
,
"size"
:
3
,
"startRow"
:
1
,
"total"
:
6100
,
"isRealEmpty"
:
false
},
"type"
:
10003
},{
"courseBean"
:{
"endRow"
:
3
,
"isHasNextPage"
:
false
,
"isHasPreviousPage"
:
false
,
"isIsFirstPage"
:
false
,
"isIsLastPage"
:
false
,
"list"
:[{
"applyFee"
:
99.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A2705537%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F12511%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2019/05/25/exkclexoa7ki5v5a.png"
,
"hostId"
:
12511
,
"hostName"
:
"王秀兰"
,
"hostUid"
:
2705537
,
"id"
:
3359
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
81
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
0.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/05/19/36btxlb5hlnynn6j.jpg"
,
"promotionApplyFee"
:
69.0
,
"readNums"
:
2195
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/19/36btxlb5hlnynn6j.jpg"
,
"desc"
:
"27个沟通秘术,让夫妻沟通更顺畅"
,
"shareUrl"
:
"https://m.ydl.com/course/3359"
,
"title"
:
"男女沟通秘籍,让老公乖乖听话的秘密"
},
"title"
:
"男女沟通秘籍,让老公乖乖听话的秘密"
},{
"applyFee"
:
39.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A1334422%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F4304%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2018/05/06/4ab73371ed439a0ac0920af7a6fa04af..jpg"
,
"hostId"
:
4304
,
"hostName"
:
"徐泽旭"
,
"hostUid"
:
1334422
,
"id"
:
3235
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
237
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
99.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/04/25/pzehq0yiqpdc76rh.jpg"
,
"promotionApplyFee"
:
39.0
,
"readNums"
:
8909
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/04/25/pzehq0yiqpdc76rh.jpg"
,
"desc"
:
"改变负面语言模式,重塑自信人生"
,
"shareUrl"
:
"https://m.ydl.com/course/3235"
,
"title"
:
"自卑、胆怯、不敢说话?扭转自卑语言,重塑自信人生!"
},
"title"
:
"自卑、胆怯、不敢说话?扭转自卑语言,重塑自信人生!"
},{
"applyFee"
:
129.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A2441930%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F9945%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2018/10/10/0xcrep11r0ibykmd.png"
,
"hostId"
:
9945
,
"hostName"
:
"壹点灵|产品研究院"
,
"hostUid"
:
2441930
,
"id"
:
3174
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
337
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
299.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/04/18/b3gti2nci9y5oi7a.jpg"
,
"promotionApplyFee"
:
0.0
,
"readNums"
:
3767
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/04/18/b3gti2nci9y5oi7a.jpg"
,
"desc"
:
"孩子学习不好是因为注意力不好造成的?!不不不,正确对待注意力缺失,注意力不好也能学习好!"
,
"shareUrl"
:
"https://m.ydl.com/course/3174"
,
"title"
:
"父母必修课—注意力不好的娃如何更好的成长"
},
"title"
:
"父母必修课—注意力不好的娃如何更好的成长"
}],
"navigateFirstPage"
:
1
,
"navigateLastPage"
:
8
,
"navigatePages"
:
8
,
"navigatepageNums"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
"nextPage"
:
2
,
"pageNum"
:
1
,
"pageSize"
:
3
,
"pages"
:
21
,
"prePage"
:
0
,
"size"
:
3
,
"startRow"
:
1
,
"total"
:
63
,
"isRealEmpty"
:
false
},
"type"
:
10004
},{
"confideBean"
:{
"body"
:[{
"confideAddress"
:
"沈阳"
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"不必失落,适合自己的人生就是最好的人生。"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听324次"
,
"confideLine"
:
3
,
"confideNum"
:
"324人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://img.ydlcdn.com/file/2019/02/26/0idx62mjf22q9r8y.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/05/07/pxkkwuh1pkeg80bu.jpg!s200x200"
,
"confidedId"
:
839
,
"confidedName"
:
"吴杰"
,
"confidedTag"
:[
"恋爱婚姻"
,
"家庭关系"
,
"个人成长"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
5954
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d839"
,
"status"
:
2
,
"tags"
:
"恋爱婚姻,家庭关系,个人成长"
,
"uid"
:
1645151
},{
"confideAddress"
:
"淮安"
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"用心陪伴,用爱倾听,留下烦恼,带走轻松。"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听1539次"
,
"confideLine"
:
1
,
"confideNum"
:
"1539人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://video.ydlcdn.com/2017/09/11/718dbba7c20d0b4ea1dcf35b024aab51.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/05/a3646cb80aea494682c488e4c22be8fe.jpg!s200x200"
,
"confidedId"
:
554
,
"confidedName"
:
"翟曙霞"
,
"confidedTag"
:[
"80后"
,
"恋爱婚姻"
,
"情绪压力"
,
"人际关系"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
2353
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d554"
,
"status"
:
1
,
"tags"
:
"80后,恋爱婚姻,情绪压力,人际关系"
,
"uid"
:
1085815
},{
"confideAddress"
:
""
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"慢慢地陪着你走,慢慢地听花开的声音"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听272次"
,
"confideLine"
:
1
,
"confideNum"
:
"272人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://img.ydlcdn.com/file/2019/02/26/jxv0beey8ukn5jpc.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/03/30/ewaq0g790zgo6jbn.png!s200x200"
,
"confidedId"
:
838
,
"confidedName"
:
"林岚"
,
"confidedTag"
:[
"恋爱婚姻"
,
"学生成长"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
9433
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d838"
,
"status"
:
1
,
"tags"
:
"恋爱婚姻,学生成长"
,
"uid"
:
2327655
}],
"diviLine"
:
1
,
"type"
:
5
,
"isRealEmpty"
:
false
},
"type"
:
10005
},{
"testListBean"
:[{
[{
"headerBean"
:{
"askCategoryData"
:[{
"cateId"
:
1
,
"cateTitle"
:
"恋爱咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/eusz6pcbf8zaou1e.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d1
\u
0026"
},{
"cateId"
:
1
,
"cateTitle"
:
"婚姻咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/35kd8ih9fiwgv16r.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
23
,
"cateTitle"
:
"亲子教育"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/09/05/09mwdfydytsdg1gt.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d23
\u
0026"
},{
"cateId"
:
25
,
"cateTitle"
:
"人际关系"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/d6xi5o3ii3lsy4yr.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d25
\u
0026"
},{
"cateId"
:
27
,
"cateTitle"
:
"情绪压力"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/no02u0gfo1kgzt8y.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
22
,
"cateTitle"
:
"职场心理"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/ra5tbfuo05upjl66.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d22
\u
0026"
},{
"cateId"
:
26
,
"cateTitle"
:
"个人成长"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/09/05/ge29bumccrtykv9r.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d26
\u
0026"
},{
"cateId"
:
229
,
"cateTitle"
:
"法律咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2019/04/02/ofb8othapbpkb6zx.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d229
\u
0026"
},{
"cateId"
:
1
,
"cateTitle"
:
"情感挽回"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2019/04/03/7zhoecx4amc23gah.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
0
,
"cateTitle"
:
"全部"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/xoo4q3k6irtrhsjc.png"
,
"url"
:
"https://h2.yidianling.com/experts/cates"
}],
"consultCategoryData"
:[{
"id"
:
1
,
"name"
:
"恋爱咨询"
},{
"id"
:
1
,
"name"
:
"婚姻咨询"
},{
"id"
:
23
,
"name"
:
"亲子教育"
},{
"id"
:
25
,
"name"
:
"人际关系"
},{
"id"
:
27
,
"name"
:
"情绪压力"
},{
"id"
:
22
,
"name"
:
"职场心理"
},{
"id"
:
26
,
"name"
:
"个人成长"
}],
"doctorName"
:
""
,
"focusList"
:[{
"focId"
:
11405
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/22/b4wgh83z4tr962a0.jpg"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/22/7z7mzwfnx7zp6ke5.jpg"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fjvyux2jq%22%7D"
,
"shareData"
:{
"title"
:
"钟媛媛 明星咨询师推荐"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/22/7z7mzwfnx7zp6ke5.jpg"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"钟媛媛 明星咨询师推荐"
},{
"focId"
:
11284
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/17/3wyxa3dqzrrxdema.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/17/jmtc5w1jzzk77hva.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fjtnzsdmg%22%7D"
,
"shareData"
:{
"title"
:
"人气咨询师排行榜-壹点灵"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/17/jmtc5w1jzzk77hva.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"人气咨询师排行榜-壹点灵"
},{
"focId"
:
11130
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/09/eije5jwiyjcyyub6.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/09/5cwmsbzfydshzh92.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fydlaplus1%22%7D"
,
"shareData"
:{
"title"
:
"A++融资公告"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/09/5cwmsbzfydshzh92.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"A++融资公告"
},{
"focId"
:
10853
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/24/pgx73v43ty9zzcn0.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/24/synob5zlakccjcb5.png"
,
"linkUrl"
:
"ydl-user://h5/confide?params
\u
003d%7b%22url%22%3a%22https%3a%2f%2fwebapp2.ydl.com%2factivity%2flisten%2fcoupon%22%7d"
,
"shareData"
:{
"title"
:
"128元倾诉新用户活动"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/24/synob5zlakccjcb5.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"128元倾诉新用户活动"
},{
"focId"
:
10730
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/11/str4mvjunwuul5lq.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/11/jluqy3kasv2fl63b.png"
,
"linkUrl"
:
"ydl-user://h5/confide?params
\u
003d%7b%22url%22%3a%22https%3a%2f%2fh5.ydl.com%2fconfideMatch%22%7d"
,
"shareData"
:{
"title"
:
"一键倾诉"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/11/jluqy3kasv2fl63b.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"一键倾诉"
},{
"focId"
:
10131
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/24/bedrm9rjwflt2vhd.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/24/6n2pb6n6ctipmvux.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwebapp.ydl.com%2Ffe-app-yidianling%2Fcourse%2Fdetail%2F2757%22%7D"
,
"shareData"
:{
"title"
:
"【重磅课程】丁Sir说挽回:像心理学家一样去挽回"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/24/6n2pb6n6ctipmvux.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"【重磅课程】丁Sir说挽回:像心理学家一样去挽回"
},{
"focId"
:
906
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/01/30/xt55wf76k13c8qb6.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/01/30/gvca1sh5xg5ao85w.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fct%2Flist%3F%22%7D"
,
"shareData"
:{
"title"
:
"免费体验"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/01/30/gvca1sh5xg5ao85w.png"
,
"desc"
:
""
,
"shareUrl"
:
"https://h2.yidianling.com/ct/list?"
},
"title"
:
"免费体验"
},{
"focId"
:
11519
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/27/dc09x8zkkbhyfc21.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/27/v5k0yg761a8qxv25.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fzhiyeceshi%22%7D"
,
"shareData"
:{
"title"
:
"职场晋升攻略"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/27/v5k0yg761a8qxv25.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"职场晋升攻略"
},{
"focId"
:
11133
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/15/bojyl3stwslfgct0.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/15/o5cpxtbgpxv6a7ry.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwjwlkj.wjx.cn%2Fjq%2F39247133.aspx%22%7D"
,
"shareData"
:{
"title"
:
"亲密关系问卷"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/15/o5cpxtbgpxv6a7ry.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"亲密关系问卷"
},{
"focId"
:
9714
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/05/73s6p5r7zk7u6b4u.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/05/1agqihpp9o8w276v.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwebapp.ydl.com%2Ffe-app-yidianling%2Fcourse%2Fdetail%2F3029%22%7D"
,
"shareData"
:{
"title"
:
"【【新课推荐】读心术,读懂你的另一半"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/05/1agqihpp9o8w276v.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"【【新课推荐】读心术,读懂你的另一半"
}],
"homeSaleData"
:[{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:19:30 PM"
,
"doctorId"
:
4422
,
"doctorName"
:
"段宁"
,
"nickName"
:
"y**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F4422%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:22:23 PM"
,
"doctorId"
:
9295
,
"doctorName"
:
"朱礼火"
,
"nickName"
:
"老**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F9295%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:30:15 PM"
,
"doctorId"
:
5954
,
"doctorName"
:
"吴杰"
,
"nickName"
:
""
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F5954%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:34:51 PM"
,
"doctorId"
:
1261
,
"doctorName"
:
"吴立秀"
,
"nickName"
:
"M**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F1261%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:34:53 PM"
,
"doctorId"
:
10330
,
"doctorName"
:
"徐听"
,
"nickName"
:
""
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F10330%22%7D"
}],
"keywordData"
:[{
"id"
:
5
,
"keyword"
:
"性心理"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%80%A7%26%22%7D"
},{
"id"
:
2
,
"keyword"
:
"抑郁"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%8A%91%E9%83%81%26%22%7D"
},{
"id"
:
3
,
"keyword"
:
"焦虑"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E7%84%A6%E8%99%91%26%22%7D"
},{
"id"
:
4
,
"keyword"
:
"婚姻挽回"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%A9%9A%E5%A7%BB%26%22%7D"
},{
"id"
:
8
,
"keyword"
:
"早恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%97%A9%E6%81%8B%26%22%7D"
},{
"id"
:
6
,
"keyword"
:
"同性恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%90%8C%E6%80%A7%E6%81%8B%26%22%7D"
},{
"id"
:
7
,
"keyword"
:
"出轨"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%87%BA%E8%BD%A8%26%22%7D"
},{
"id"
:
1
,
"keyword"
:
"失恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%81%8B%26%22%7D"
},{
"id"
:
9
,
"keyword"
:
"情感修复"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch2%3Fsearch_word%3D%E6%83%85%E6%84%9F%E4%BF%AE%E5%A4%8D%26%22%7D"
}],
"listenCategoryDate"
:[{
"id"
:
1
,
"name"
:
"恋爱"
},{
"id"
:
2
,
"name"
:
"婚姻家庭"
},{
"id"
:
3
,
"name"
:
"陪聊治愈"
},{
"id"
:
4
,
"name"
:
"情绪压力"
},{
"id"
:
5
,
"name"
:
"亲子教育"
},{
"id"
:
7
,
"name"
:
"职业"
},{
"id"
:
8
,
"name"
:
"人际"
},{
"id"
:
9
,
"name"
:
"个人成长"
}],
"isRealEmpty"
:
false
},
"type"
:
10001
},{
"type"
:
10002
},{
"consultBean"
:{
"endRow"
:
3
,
"isHasNextPage"
:
false
,
"isHasPreviousPage"
:
false
,
"isIsFirstPage"
:
false
,
"isIsLastPage"
:
false
,
"list"
:[{
"city"
:
"唐山"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/10/vw6sx2i72exvbr95.jpg!s120x120"
,
"doctorId"
:
1261
,
"doctorName"
:
"吴立秀"
,
"doctorUid"
:
49874
,
"feedbackRate"
:
99.8
,
"hUrl"
:
"https://h2.yidianling.com/experts/1261"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/1261"
,
"profesBack"
:
"二级心理咨询师
\r\n
三级心理咨询师
\r\n
壹点灵签约心理咨询师
\r\n
中科院心理研究所心理学研究生在读"
,
"province"
:
"河北省"
,
"serviceFee"
:
175
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/10/vw6sx2i72exvbr95.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/1261"
,
"title"
:
"吴立秀咨询工作室"
},
"tags"
:
"恋爱情感|婚姻家庭|个人成长"
,
"zixunOrderNum"
:
7978
},{
"city"
:
"温州"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"doctorId"
:
1131
,
"doctorName"
:
"朱静"
,
"doctorUid"
:
34649
,
"feedbackRate"
:
99.7
,
"hUrl"
:
"https://h2.yidianling.com/experts/1131"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/1131"
,
"profesBack"
:
"三级心理咨询师"
,
"province"
:
"浙江省"
,
"serviceFee"
:
250
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/1131"
,
"title"
:
"朱静咨询工作室"
},
"tags"
:
"恋爱婚姻|情绪压力|人际关系"
,
"zixunOrderNum"
:
7431
},{
"city"
:
"苏州"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/08/vp663mvqvf193phi.jpg!s120x120"
,
"doctorId"
:
7387
,
"doctorName"
:
"钟媛媛"
,
"doctorUid"
:
1915807
,
"feedbackRate"
:
99.9
,
"hUrl"
:
"https://h2.yidianling.com/experts/7387"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/7387"
,
"profesBack"
:
"三级心理咨询师"
,
"province"
:
"江苏省"
,
"serviceFee"
:
150
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/08/vp663mvqvf193phi.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/7387"
,
"title"
:
"钟媛媛咨询工作室"
},
"tags"
:
"恋爱婚姻|情绪压力|个人成长"
,
"zixunOrderNum"
:
1135
}],
"navigateFirstPage"
:
1
,
"navigateLastPage"
:
8
,
"navigatePages"
:
8
,
"navigatepageNums"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
"nextPage"
:
2
,
"pageNum"
:
1
,
"pageSize"
:
3
,
"pages"
:
2034
,
"prePage"
:
0
,
"size"
:
3
,
"startRow"
:
1
,
"total"
:
6100
,
"isRealEmpty"
:
false
},
"type"
:
10003
},{
"courseBean"
:{
"endRow"
:
3
,
"isHasNextPage"
:
false
,
"isHasPreviousPage"
:
false
,
"isIsFirstPage"
:
false
,
"isIsLastPage"
:
false
,
"list"
:[{
"applyFee"
:
99.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A2705537%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F12511%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2019/05/25/exkclexoa7ki5v5a.png"
,
"hostId"
:
12511
,
"hostName"
:
"王秀兰"
,
"hostUid"
:
2705537
,
"id"
:
3359
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
81
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
0.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/05/19/36btxlb5hlnynn6j.jpg"
,
"promotionApplyFee"
:
69.0
,
"readNums"
:
2195
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/19/36btxlb5hlnynn6j.jpg"
,
"desc"
:
"27个沟通秘术,让夫妻沟通更顺畅"
,
"shareUrl"
:
"https://m.ydl.com/course/3359"
,
"title"
:
"男女沟通秘籍,让老公乖乖听话的秘密"
},
"title"
:
"男女沟通秘籍,让老公乖乖听话的秘密"
},{
"applyFee"
:
39.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A1334422%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F4304%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2018/05/06/4ab73371ed439a0ac0920af7a6fa04af..jpg"
,
"hostId"
:
4304
,
"hostName"
:
"徐泽旭"
,
"hostUid"
:
1334422
,
"id"
:
3235
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
237
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
99.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/04/25/pzehq0yiqpdc76rh.jpg"
,
"promotionApplyFee"
:
39.0
,
"readNums"
:
8909
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/04/25/pzehq0yiqpdc76rh.jpg"
,
"desc"
:
"改变负面语言模式,重塑自信人生"
,
"shareUrl"
:
"https://m.ydl.com/course/3235"
,
"title"
:
"自卑、胆怯、不敢说话?扭转自卑语言,重塑自信人生!"
},
"title"
:
"自卑、胆怯、不敢说话?扭转自卑语言,重塑自信人生!"
},{
"applyFee"
:
129.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A2441930%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F9945%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2018/10/10/0xcrep11r0ibykmd.png"
,
"hostId"
:
9945
,
"hostName"
:
"壹点灵|产品研究院"
,
"hostUid"
:
2441930
,
"id"
:
3174
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
337
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
299.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/04/18/b3gti2nci9y5oi7a.jpg"
,
"promotionApplyFee"
:
0.0
,
"readNums"
:
3767
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/04/18/b3gti2nci9y5oi7a.jpg"
,
"desc"
:
"孩子学习不好是因为注意力不好造成的?!不不不,正确对待注意力缺失,注意力不好也能学习好!"
,
"shareUrl"
:
"https://m.ydl.com/course/3174"
,
"title"
:
"父母必修课—注意力不好的娃如何更好的成长"
},
"title"
:
"父母必修课—注意力不好的娃如何更好的成长"
}],
"navigateFirstPage"
:
1
,
"navigateLastPage"
:
8
,
"navigatePages"
:
8
,
"navigatepageNums"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
"nextPage"
:
2
,
"pageNum"
:
1
,
"pageSize"
:
3
,
"pages"
:
21
,
"prePage"
:
0
,
"size"
:
3
,
"startRow"
:
1
,
"total"
:
63
,
"isRealEmpty"
:
false
},
"type"
:
10004
},{
"confideBean"
:{
"body"
:[{
"confideAddress"
:
"沈阳"
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"不必失落,适合自己的人生就是最好的人生。"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听324次"
,
"confideLine"
:
3
,
"confideNum"
:
"324人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://img.ydlcdn.com/file/2019/02/26/0idx62mjf22q9r8y.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/05/07/pxkkwuh1pkeg80bu.jpg!s200x200"
,
"confidedId"
:
839
,
"confidedName"
:
"吴杰"
,
"confidedTag"
:[
"恋爱婚姻"
,
"家庭关系"
,
"个人成长"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
5954
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d839"
,
"status"
:
2
,
"tags"
:
"恋爱婚姻,家庭关系,个人成长"
,
"uid"
:
1645151
},{
"confideAddress"
:
"淮安"
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"用心陪伴,用爱倾听,留下烦恼,带走轻松。"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听1539次"
,
"confideLine"
:
1
,
"confideNum"
:
"1539人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://video.ydlcdn.com/2017/09/11/718dbba7c20d0b4ea1dcf35b024aab51.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/05/a3646cb80aea494682c488e4c22be8fe.jpg!s200x200"
,
"confidedId"
:
554
,
"confidedName"
:
"翟曙霞"
,
"confidedTag"
:[
"80后"
,
"恋爱婚姻"
,
"情绪压力"
,
"人际关系"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
2353
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d554"
,
"status"
:
1
,
"tags"
:
"80后,恋爱婚姻,情绪压力,人际关系"
,
"uid"
:
1085815
},{
"confideAddress"
:
""
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"慢慢地陪着你走,慢慢地听花开的声音"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听272次"
,
"confideLine"
:
1
,
"confideNum"
:
"272人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://img.ydlcdn.com/file/2019/02/26/jxv0beey8ukn5jpc.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/03/30/ewaq0g790zgo6jbn.png!s200x200"
,
"confidedId"
:
838
,
"confidedName"
:
"林岚"
,
"confidedTag"
:[
"恋爱婚姻"
,
"学生成长"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
9433
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d838"
,
"status"
:
1
,
"tags"
:
"恋爱婚姻,学生成长"
,
"uid"
:
2327655
}],
"diviLine"
:
1
,
"type"
:
5
,
"isRealEmpty"
:
false
},
"type"
:
10005
},{
"testListBean"
:[{
"recommendLinkUrl"
:
"ydl-user://ceshi/detail?params
\u
003d%7B%22id%22%3A738%7D"
,
"recommendLinkUrl"
:
"ydl-user://ceshi/detail?params
\u
003d%7B%22id%22%3A738%7D"
,
"id"
:
738
,
"id"
:
738
,
"name"
:
"心理健康测评-SCL90专业版"
,
"name"
:
"心理健康测评-SCL90专业版"
,
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/event/HomeImpl.kt
View file @
21de161c
...
@@ -34,6 +34,7 @@ import com.yidianling.home.constract.IHomeContract
...
@@ -34,6 +34,7 @@ import com.yidianling.home.constract.IHomeContract
import
com.yidianling.home.model.bean.*
import
com.yidianling.home.model.bean.*
import
com.yidianling.router.RouterManager
import
com.yidianling.router.RouterManager
import
com.yidianling.router.im.IMRequestCallback
import
com.yidianling.router.im.IMRequestCallback
import
com.yidianling.tests.api.service.ITestsApiService
import
com.yidianling.user.api.service.IUserService
import
com.yidianling.user.api.service.IUserService
import
de.greenrobot.event.EventBus
import
de.greenrobot.event.EventBus
import
org.json.JSONObject
import
org.json.JSONObject
...
@@ -339,6 +340,7 @@ class HomeImpl : IHomeEvent {
...
@@ -339,6 +340,7 @@ class HomeImpl : IHomeEvent {
.
putExtra
(
IYDLRouterConstant
.
EXTRA_TOUID
,
doctorId
!!
)
.
putExtra
(
IYDLRouterConstant
.
EXTRA_TOUID
,
doctorId
!!
)
.
putExtra
(
IYDLRouterConstant
.
EXTRA_USERTYPE
,
"1"
))
.
putExtra
(
IYDLRouterConstant
.
EXTRA_USERTYPE
,
"1"
))
}
}
//todo xj
RouterManager
.
getImRouter
().
createTextMessage
(
doctorId
,
"你好,我想找你倾诉,请尽快上线私聊我,我在等你。"
,
object
:
IMRequestCallback
<
Void
>
{
RouterManager
.
getImRouter
().
createTextMessage
(
doctorId
,
"你好,我想找你倾诉,请尽快上线私聊我,我在等你。"
,
object
:
IMRequestCallback
<
Void
>
{
override
fun
onSuccess
(
aVoid
:
Void
?)
{
override
fun
onSuccess
(
aVoid
:
Void
?)
{
(
mContext
as
BaseActivity
).
dismissProgressDialog
()
(
mContext
as
BaseActivity
).
dismissProgressDialog
()
...
@@ -572,7 +574,7 @@ class HomeImpl : IHomeEvent {
...
@@ -572,7 +574,7 @@ class HomeImpl : IHomeEvent {
val
uri
=
Uri
.
parse
(
linkUrl
)
val
uri
=
Uri
.
parse
(
linkUrl
)
if
(
"ceshi"
==
uri
.
host
)
{
if
(
"ceshi"
==
uri
.
host
)
{
val
id
=
uri
.
getQueryParameter
(
"id"
)
val
id
=
uri
.
getQueryParameter
(
"id"
)
RouterManager
.
getTestsRouter
()
?
.
testDetailH5
(
id
)
ModularServiceManager
.
provide
(
ITestsApiService
::
class
.
java
)
.
testDetailH5
(
id
)
}
}
}
else
if
(
linkUrl
.
startsWith
(
"http"
))
{
}
else
if
(
linkUrl
.
startsWith
(
"http"
))
{
YDLRouterManager
.
router
(
IYDLRouterConstant
.
ROUTER_H5_H5
,
YDLRouterManager
.
router
(
IYDLRouterConstant
.
ROUTER_H5_H5
,
...
@@ -580,7 +582,7 @@ class HomeImpl : IHomeEvent {
...
@@ -580,7 +582,7 @@ class HomeImpl : IHomeEvent {
}
else
if
(
linkUrl
.
contains
(
"ceshi/detail?"
))
{
}
else
if
(
linkUrl
.
contains
(
"ceshi/detail?"
))
{
val
routerParamsUrls
=
YDLRouterParamsUrls
(
linkUrl
)
val
routerParamsUrls
=
YDLRouterParamsUrls
(
linkUrl
)
val
jsonObject
=
JSONObject
(
routerParamsUrls
.
getParams
())
val
jsonObject
=
JSONObject
(
routerParamsUrls
.
getParams
())
RouterManager
.
getTestsRouter
()
?.
testDetailH5
(
jsonObject
.
getString
(
"id"
).
toString
());
ModularServiceManager
.
provide
(
ITestsApiService
::
class
.
java
).
testDetailH5
(
jsonObject
.
getString
(
"id"
).
toString
())
}
else
{
}
else
{
YDLRouterManager
.
router
(
linkUrl
)
YDLRouterManager
.
router
(
linkUrl
)
}
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/model/bean/HomeConsultBean.kt
View file @
21de161c
...
@@ -78,7 +78,7 @@ class HomeConsultBean: HomeItemBaseBean {
...
@@ -78,7 +78,7 @@ class HomeConsultBean: HomeItemBaseBean {
var
hUrl
:
String
?
=
null
var
hUrl
:
String
?
=
null
var
share
:
ShareBean
?
=
null
var
share
:
ShareBean
?
=
null
var
isHiddenXcx
:
String
?
=
null
var
isHiddenXcx
:
String
?
=
null
var
tags
:
ArrayList
<
String
>
?
=
null
var
tags
:
String
?
=
null
class
ShareBean
{
class
ShareBean
{
/**
/**
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/model/bean/HomeHeaderBean.kt
View file @
21de161c
package
com.yidianling.home.model.bean
package
com.yidianling.home.model.bean
import
com.yidianling.
router.consultant
.Keyworks
import
com.yidianling.
consultant.bean
.Keyworks
/**
/**
* Created by haorui on 2019/2/14.
* Created by haorui on 2019/2/14.
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/presenter/HomePresenterImpl.kt
View file @
21de161c
...
@@ -21,7 +21,6 @@ import com.yidianling.home.utils.HomeLogPrinter
...
@@ -21,7 +21,6 @@ import com.yidianling.home.utils.HomeLogPrinter
import
com.yidianling.common.tools.LogUtil
import
com.yidianling.common.tools.LogUtil
import
com.yidianling.common.tools.RxAppTool
import
com.yidianling.common.tools.RxAppTool
import
com.yidianling.consultant.api.IConsultantService
import
com.yidianling.consultant.api.IConsultantService
import
com.yidianling.router.RouterManager
import
io.reactivex.Observable
import
io.reactivex.Observable
import
io.reactivex.android.schedulers.AndroidSchedulers
import
io.reactivex.android.schedulers.AndroidSchedulers
import
io.reactivex.disposables.Disposable
import
io.reactivex.disposables.Disposable
...
@@ -171,8 +170,7 @@ class HomePresenterImpl : SimplePresenter<IHomeContract.View>() {
...
@@ -171,8 +170,7 @@ class HomePresenterImpl : SimplePresenter<IHomeContract.View>() {
}
}
homeList
.
add
(
HomePagerDataBean
(
YdlHomeViewHolderConstract
.
BUTTON_BANNER_VIEW
))
homeList
.
add
(
HomePagerDataBean
(
YdlHomeViewHolderConstract
.
BUTTON_BANNER_VIEW
))
//保存热门搜索列表
//保存热门搜索列表
it
.
keywordData
?.
let
{
ModularServiceManager
.
provide
(
IConsultantService
::
class
.
java
)
}
it
.
keywordData
?.
let
{
ModularServiceManager
.
provide
(
IConsultantService
::
class
.
java
).
setHotSearch
(
it
)
}
it
.
keywordData
?.
let
{
RouterManager
.
getConsultantRouter
()
?.
setHotSearch
(
it
)
}
},
},
HomeModelImpl
.
consultRequest
(
mConsultType
).
map
{
HomeModelImpl
.
consultRequest
(
mConsultType
).
map
{
//首页咨询数据
//首页咨询数据
...
@@ -255,7 +253,7 @@ class HomePresenterImpl : SimplePresenter<IHomeContract.View>() {
...
@@ -255,7 +253,7 @@ class HomePresenterImpl : SimplePresenter<IHomeContract.View>() {
YdlHomeViewHolderConstract
.
PAGER_BANNER_VIEW
->
{
YdlHomeViewHolderConstract
.
PAGER_BANNER_VIEW
->
{
homeBean
.
headerBean
=
dataBean
.
headerBean
homeBean
.
headerBean
=
dataBean
.
headerBean
dataBean
.
headerBean
?.
keywordData
?.
let
{
dataBean
.
headerBean
?.
keywordData
?.
let
{
RouterManager
.
getConsultantRouter
()
?
.
setHotSearch
(
it
)
ModularServiceManager
.
provide
(
IConsultantService
::
class
.
java
)
.
setHotSearch
(
it
)
}
}
}
}
YdlHomeViewHolderConstract
.
CONSULT_VIEW
->
{
YdlHomeViewHolderConstract
.
CONSULT_VIEW
->
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
21de161c
...
@@ -39,7 +39,6 @@ import com.yidianling.home.presenter.HomePresenterImpl
...
@@ -39,7 +39,6 @@ import com.yidianling.home.presenter.HomePresenterImpl
import
com.yidianling.home.ui.view.CouponDialog
import
com.yidianling.home.ui.view.CouponDialog
import
com.yidianling.home.utils.Double11ActivityManagerUtils
import
com.yidianling.home.utils.Double11ActivityManagerUtils
import
com.yidianling.home.utils.HomeAnimUtils
import
com.yidianling.home.utils.HomeAnimUtils
import
com.yidianling.router.RouterManager
import
com.yidianling.user.api.service.IUserService
import
com.yidianling.user.api.service.IUserService
import
kotlinx.android.synthetic.ydl.home_module_fragment.*
import
kotlinx.android.synthetic.ydl.home_module_fragment.*
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefItemView.kt
View file @
21de161c
...
@@ -18,7 +18,6 @@ import com.ydl.ydl_image.manager.YDLImageCacheManager
...
@@ -18,7 +18,6 @@ import com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.ydl.ydl_router.manager.YDLRouterManager
import
com.ydl.ydl_router.manager.YDLRouterManager
import
com.ydl.ydlcommon.modular.ModularServiceManager
import
com.ydl.ydlcommon.modular.ModularServiceManager
import
com.ydl.ydlcommon.router.IYDLRouterConstant
import
com.ydl.ydlcommon.router.IYDLRouterConstant
import
com.ydl.ydlcommon.router.YdlCommonRouterManager
import
com.ydl.ydlcommon.utils.MoonUtil
import
com.ydl.ydlcommon.utils.MoonUtil
import
com.ydl.ydlcommon.utils.Utils
import
com.ydl.ydlcommon.utils.Utils
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.common.tools.RxDeviceTool
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
View file @
21de161c
...
@@ -48,7 +48,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
...
@@ -48,7 +48,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
//设置名称
//设置名称
tv_consult_name
.
text
=
bean
.
doctorName
tv_consult_name
.
text
=
bean
.
doctorName
//咨询师标签
//咨询师标签
tag_view
.
initData
(
bean
.
tags
)
tag_view
.
initData
(
StringUtils
.
strToList
(
bean
.
tags
)
)
//设置向TA倾诉人数
//设置向TA倾诉人数
setConfideNum
(
bean
)
setConfideNum
(
bean
)
//设置接通率文案
//设置接通率文案
...
...
This diff is collapsed.
Click to expand it.
m-tests/modular.gradle
View file @
21de161c
...
@@ -24,7 +24,7 @@ modular {
...
@@ -24,7 +24,7 @@ modular {
groupId
=
"com.ydl"
groupId
=
"com.ydl"
artifactId
=
"m-tests-api"
artifactId
=
"m-tests-api"
//开发时注释掉版本号,发布api时打开
//开发时注释掉版本号,发布api时打开
version
=
rootProject
.
ext
.
ydlPublishVersion
[
childProject
.
getName
()+
"-api"
]
//
version = rootProject.ext.ydlPublishVersion[childProject.getName()+"-api"]
// API 层打包时需要引入的依赖
// API 层打包时需要引入的依赖
apiDependencies
{
apiDependencies
{
implementation
"com.google.code.gson:gson:2.8.2"
implementation
"com.google.code.gson:gson:2.8.2"
...
...
This diff is collapsed.
Click to expand it.
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