Commit 4b3c125c by konghaorui

Merge branch 'feature/v3' of…

Merge branch 'feature/v3' of ssh://gitlab.yidianling.com:2224/app_android_lib/YDL-Component into feature/v3
parents 776bc4d7 c87dabe8
...@@ -47,12 +47,12 @@ ext { ...@@ -47,12 +47,12 @@ ext {
"m-consultant" : "0.0.50.1", "m-consultant" : "0.0.50.1",
"m-fm" : "0.0.23.1", "m-fm" : "0.0.23.1",
"m-user" : "0.0.40.1", "m-user" : "0.0.40.1",
"m-home" : "0.0.6.2", "m-home" : "0.0.6.3",
"m-muse" : "0.0.20.1", "m-muse" : "0.0.20.1",
"m-tests" : "0.0.15.1", "m-tests" : "0.0.15.1",
"m-course" : "0.0.34.1", "m-course" : "0.0.34.1",
"m-im" : "0.0.1.1", "m-im" : "0.0.2",
//-------------- 业务模块 API 层 -------------- //-------------- 业务模块 API 层 --------------
"m-audioim-api" : "0.0.5", "m-audioim-api" : "0.0.5",
...@@ -64,7 +64,7 @@ ext { ...@@ -64,7 +64,7 @@ ext {
"m-tests-api" : "0.0.1", "m-tests-api" : "0.0.1",
"m-user-api" : "0.0.7", "m-user-api" : "0.0.7",
"m-home-api" : "0.0.3", "m-home-api" : "0.0.3",
"m-im-api" : "0.0.1", "m-im-api" : "0.0.2",
//-------------- 功能组件 -------------- //-------------- 功能组件 --------------
//第一步 //第一步
...@@ -107,7 +107,7 @@ ext { ...@@ -107,7 +107,7 @@ ext {
"m-tests-api" : "0.0.1", "m-tests-api" : "0.0.1",
"m-user-api" : "0.0.7", "m-user-api" : "0.0.7",
"m-home-api" : "0.0.3", "m-home-api" : "0.0.3",
"m-im-api" : "0.0.1", "m-im-api" : "0.0.2",
//-------------- 功能组件 -------------- //-------------- 功能组件 --------------
//第一步 //第一步
......
...@@ -35,16 +35,16 @@ object CourseSendPlugin { ...@@ -35,16 +35,16 @@ object CourseSendPlugin {
fun sendMsg(isPlaying: Boolean) { fun sendMsg(isPlaying: Boolean) {
eventSink!!.success(isPlaying) eventSink?.success(isPlaying)
} }
fun sendRequestData() { fun sendRequestData() {
eventSink!!.success("requestData") eventSink?.success("requestData")
} }
fun sendLoginSuccess() { fun sendLoginSuccess() {
eventSink!!.success("loginSuccess") eventSink?.success("loginSuccess")
} }
} }
\ No newline at end of file
[{"headerBean":{"askCategoryData":[{"cateId":1,"cateTitle":"恋爱咨询","coverUrl":"https://img.ydlcdn.com/file/2018/08/14/eusz6pcbf8zaou1e.png","url":"https://h2.yidianling.com/experts/search?cat\u003d1\u0026"},{"cateId":1,"cateTitle":"婚姻咨询","coverUrl":"https://img.ydlcdn.com/file/2018/08/14/35kd8ih9fiwgv16r.png","url":"https://h2.yidianling.com/experts/search?cat\u003d27\u0026"},{"cateId":23,"cateTitle":"亲子教育","coverUrl":"https://img.ydlcdn.com/file/2018/09/05/09mwdfydytsdg1gt.png","url":"https://h2.yidianling.com/experts/search?cat\u003d23\u0026"},{"cateId":25,"cateTitle":"人际关系","coverUrl":"https://img.ydlcdn.com/file/2018/08/14/d6xi5o3ii3lsy4yr.png","url":"https://h2.yidianling.com/experts/search?cat\u003d25\u0026"},{"cateId":27,"cateTitle":"情绪压力","coverUrl":"https://img.ydlcdn.com/file/2018/08/14/no02u0gfo1kgzt8y.png","url":"https://h2.yidianling.com/experts/search?cat\u003d27\u0026"},{"cateId":22,"cateTitle":"职场心理","coverUrl":"https://img.ydlcdn.com/file/2018/08/14/ra5tbfuo05upjl66.png","url":"https://h2.yidianling.com/experts/search?cat\u003d22\u0026"},{"cateId":26,"cateTitle":"个人成长","coverUrl":"https://img.ydlcdn.com/file/2018/09/05/ge29bumccrtykv9r.png","url":"https://h2.yidianling.com/experts/search?cat\u003d26\u0026"},{"cateId":229,"cateTitle":"法律咨询","coverUrl":"https://img.ydlcdn.com/file/2019/04/02/ofb8othapbpkb6zx.png","url":"https://h2.yidianling.com/experts/search?cat\u003d229\u0026"},{"cateId":1,"cateTitle":"情感挽回","coverUrl":"https://img.ydlcdn.com/file/2019/04/03/7zhoecx4amc23gah.png","url":"https://h2.yidianling.com/experts/search?cat\u003d27\u0026"},{"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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F10330%22%7D"}],"keywordData":[{"id":5,"keyword":"性心理","url":"ydl-user://h5/consult?params\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%7B%22toUid%22%3A2705537%2C%22userType%22%3A2%7D","consultLinkUri":"ydl-user://h5/consult?params\u003d%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\u003d%7B%22toUid%22%3A1334422%2C%22userType%22%3A2%7D","consultLinkUri":"ydl-user://h5/consult?params\u003d%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\u003d%7B%22toUid%22%3A2441930%2C%22userType%22%3A2%7D","consultLinkUri":"ydl-user://h5/consult?params\u003d%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\u003d839","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\u003d554","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\u003d838","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\u003d1\u0026"},{"cateId":1,"cateTitle":"婚姻咨询","coverUrl":"https://img.ydlcdn.com/file/2018/08/14/35kd8ih9fiwgv16r.png","url":"https://h2.yidianling.com/experts/search?cat\u003d27\u0026"},{"cateId":23,"cateTitle":"亲子教育","coverUrl":"https://img.ydlcdn.com/file/2018/09/05/09mwdfydytsdg1gt.png","url":"https://h2.yidianling.com/experts/search?cat\u003d23\u0026"},{"cateId":25,"cateTitle":"人际关系","coverUrl":"https://img.ydlcdn.com/file/2018/08/14/d6xi5o3ii3lsy4yr.png","url":"https://h2.yidianling.com/experts/search?cat\u003d25\u0026"},{"cateId":27,"cateTitle":"情绪压力","coverUrl":"https://img.ydlcdn.com/file/2018/08/14/no02u0gfo1kgzt8y.png","url":"https://h2.yidianling.com/experts/search?cat\u003d27\u0026"},{"cateId":22,"cateTitle":"职场心理","coverUrl":"https://img.ydlcdn.com/file/2018/08/14/ra5tbfuo05upjl66.png","url":"https://h2.yidianling.com/experts/search?cat\u003d22\u0026"},{"cateId":26,"cateTitle":"个人成长","coverUrl":"https://img.ydlcdn.com/file/2018/09/05/ge29bumccrtykv9r.png","url":"https://h2.yidianling.com/experts/search?cat\u003d26\u0026"},{"cateId":229,"cateTitle":"法律咨询","coverUrl":"https://img.ydlcdn.com/file/2019/04/02/ofb8othapbpkb6zx.png","url":"https://h2.yidianling.com/experts/search?cat\u003d229\u0026"},{"cateId":1,"cateTitle":"情感挽回","coverUrl":"https://img.ydlcdn.com/file/2019/04/03/7zhoecx4amc23gah.png","url":"https://h2.yidianling.com/experts/search?cat\u003d27\u0026"},{"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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F10330%22%7D"}],"keywordData":[{"id":5,"keyword":"性心理","url":"ydl-user://h5/consult?params\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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\u003d%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":5.00,"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":5.00,"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":5.00,"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\u003d%7B%22toUid%22%3A2705537%2C%22userType%22%3A2%7D","consultLinkUri":"ydl-user://h5/consult?params\u003d%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\u003d%7B%22toUid%22%3A1334422%2C%22userType%22%3A2%7D","consultLinkUri":"ydl-user://h5/consult?params\u003d%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\u003d%7B%22toUid%22%3A2441930%2C%22userType%22%3A2%7D","consultLinkUri":"ydl-user://h5/consult?params\u003d%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\u003d839","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\u003d554","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\u003d838","status":1,"tags":"恋爱婚姻,学生成长","uid":2327655}],"diviLine":1,"type":5,"isRealEmpty":false},"type":10005},{"testListBean":[{
"recommendLinkUrl": "ydl-user://ceshi/detail?params\u003d%7B%22id%22%3A738%7D", "recommendLinkUrl": "ydl-user://ceshi/detail?params\u003d%7B%22id%22%3A738%7D",
"id": 738, "id": 738,
"name": "心理健康测评-SCL90专业版", "name": "心理健康测评-SCL90专业版",
......
...@@ -58,15 +58,11 @@ class HomeConsultBean: HomeItemBaseBean { ...@@ -58,15 +58,11 @@ class HomeConsultBean: HomeItemBaseBean {
*/ */
//字段名称改了 //字段名称改了
@SerializedName("uid")
var doctorUid: Int = 0 var doctorUid: Int = 0
var doctorId: String = "" var doctorId: String = ""
@SerializedName("name")
var doctorName: String? = null var doctorName: String? = null
@SerializedName("head")
var doctorHead: String? = null var doctorHead: String? = null
var profesBack: String? = null var profesBack: String? = null
@SerializedName("minBookingPrice")
var serviceFee: Int = 0 var serviceFee: Int = 0
var zixunOrderNum: Int = 0 var zixunOrderNum: Int = 0
var feedbackRate: Float = 0f var feedbackRate: Float = 0f
...@@ -74,7 +70,6 @@ class HomeConsultBean: HomeItemBaseBean { ...@@ -74,7 +70,6 @@ class HomeConsultBean: HomeItemBaseBean {
var city: String? = null var city: String? = null
var isOnline: Int = 0 var isOnline: Int = 0
var mUrl: String? = null var mUrl: String? = null
@SerializedName("linkUrl")
var hUrl: String? = null var hUrl: String? = null
var share: ShareBean? = null var share: ShareBean? = null
var isHiddenXcx: String? = null var isHiddenXcx: String? = null
......
...@@ -24,7 +24,7 @@ modular { ...@@ -24,7 +24,7 @@ modular {
groupId = "com.ydl" groupId = "com.ydl"
artifactId = "m-im-api" artifactId = "m-im-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"
......
package com.yidianling.uikit.business.session.activity; package com.yidianling.uikit.business.session.activity;
import android.annotation.SuppressLint;
import android.app.Activity; import android.app.Activity;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
...@@ -115,6 +116,7 @@ public abstract class YDLBaseMessageActivity extends UI { ...@@ -115,6 +116,7 @@ public abstract class YDLBaseMessageActivity extends UI {
//==================== ChatUI Override ==================== //==================== ChatUI Override ====================
@SuppressLint("CheckResult")
public void setToolBar(int toolBarId) { public void setToolBar(int toolBarId) {
tb = (TitleBarBottom) findViewById(toolBarId); tb = (TitleBarBottom) findViewById(toolBarId);
if (ActionHandlerStorage.getL(sessionId) != null && ActionHandlerStorage.getL(sessionId).getInfo() != null) { if (ActionHandlerStorage.getL(sessionId) != null && ActionHandlerStorage.getL(sessionId).getInfo() != null) {
...@@ -144,31 +146,34 @@ public abstract class YDLBaseMessageActivity extends UI { ...@@ -144,31 +146,34 @@ public abstract class YDLBaseMessageActivity extends UI {
Disposable dis = ServiceImpl.Companion.getInstance().getDoctorChatStatus(Long.parseLong(ActionHandlerStorage.getL(sessionId).getInfo().toUid)) Disposable dis = ServiceImpl.Companion.getInstance().getDoctorChatStatus(Long.parseLong(ActionHandlerStorage.getL(sessionId).getInfo().toUid))
.subscribe(chatStatusBean -> { .subscribe(chatStatusBean -> {
int status = chatStatusBean.data.getStatus(); if (ActionHandlerStorage.getL(sessionId) != null) {
ActionHandlerStorage.getL(sessionId).setDoctorStatus(status);
ActionHandlerStorage.getL(sessionId).setDoctorBusyNum(chatStatusBean.data.getBusyTotal()); int status = chatStatusBean.data.getStatus();
ActionHandlerStorage.getL(sessionId).setDoctorStatus(status);
//1.在线,2.离线,3.忙碌 4咨询中, 5倾述中 6咨询前准备 ActionHandlerStorage.getL(sessionId).setDoctorBusyNum(chatStatusBean.data.getBusyTotal());
if (status == 2) { //1.在线,2.离线,3.忙碌 4咨询中, 5倾述中 6咨询前准备
//离线
tb.setMinTitleText("离线"); if (status == 2) {
tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666)); //离线
tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_off_line)); tb.setMinTitleText("离线");
} else if (status == 4 || status == 5) { tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666));
//服务中 tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_off_line));
tb.setMinTitleText("服务中"); } else if (status == 4 || status == 5) {
tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666)); //服务中
tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_online_server)); tb.setMinTitleText("服务中");
} else { tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666));
//在线 1,3,6.. tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_online_server));
tb.setMinTitleText("在线"); } else {
tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666)); //在线 1,3,6..
tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_online)); tb.setMinTitleText("在线");
tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666));
tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_online));
}
initSystemMessage(chatStatusBean.data.getPromptRule(), status);
} }
initSystemMessage(chatStatusBean.data.getPromptRule(), status);
}, throwable -> { }, throwable -> {
}); });
} else if (ActionHandlerStorage.getL(sessionId).getUserType() == 3) { } else if (ActionHandlerStorage.getL(sessionId).getUserType() == 3) {
...@@ -178,16 +183,18 @@ public abstract class YDLBaseMessageActivity extends UI { ...@@ -178,16 +183,18 @@ public abstract class YDLBaseMessageActivity extends UI {
.subscribeOn(Schedulers.io()) .subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread()) .observeOn(AndroidSchedulers.mainThread())
.subscribe(res -> { .subscribe(res -> {
if (res.data == 1) { if (ActionHandlerStorage.getL(sessionId) != null) {
//在线 if (res.data == 1) {
tb.setMinTitleText("在线"); //在线
tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666)); tb.setMinTitleText("在线");
tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_online)); tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666));
} else { tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_online));
//离线 } else {
tb.setMinTitleText("离线"); //离线
tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666)); tb.setMinTitleText("离线");
tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_off_line)); tb.setMinTitleColor(getResources().getColor(R.color.platform_color_666666));
tb.setMinTitleDrawable(getResources().getDrawable(R.drawable.im_background_chat_top_status_off_line));
}
} }
}, throwable -> { }, throwable -> {
}); });
...@@ -221,6 +228,7 @@ public abstract class YDLBaseMessageActivity extends UI { ...@@ -221,6 +228,7 @@ public abstract class YDLBaseMessageActivity extends UI {
/** /**
* 发送推荐专家列表 * 发送推荐专家列表
*/ */
@SuppressLint("CheckResult")
public void sendRecommendExpertListMessage(int type, boolean showExpertList) { public void sendRecommendExpertListMessage(int type, boolean showExpertList) {
// 调取接口获取推荐专家列表 // 调取接口获取推荐专家列表
...@@ -232,7 +240,9 @@ public abstract class YDLBaseMessageActivity extends UI { ...@@ -232,7 +240,9 @@ public abstract class YDLBaseMessageActivity extends UI {
.observeOn(AndroidSchedulers.mainThread()) .observeOn(AndroidSchedulers.mainThread())
.subscribe(res -> { .subscribe(res -> {
//发送推荐专家列表消息 //发送推荐专家列表消息
ActionHandlerStorage.getL(sessionId).sendRecommendExpertListMessage(sessionId, res.data, type, showExpertList); if (ActionHandlerStorage.getL(sessionId) != null) {
ActionHandlerStorage.getL(sessionId).sendRecommendExpertListMessage(sessionId, res.data, type, showExpertList);
}
}, throwable -> { }, throwable -> {
ToastUtil.toastShort(throwable.toString()); ToastUtil.toastShort(throwable.toString());
}); });
......
...@@ -214,30 +214,32 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy { ...@@ -214,30 +214,32 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
* 初始化顶部专家信息栏 * 初始化顶部专家信息栏
*/ */
private void initTopCustomBar() { private void initTopCustomBar() {
// 头像 if (ActionHandlerStorage.getL(sessionId) != null) {
String headUrl = ActionHandlerStorage.getL(sessionId).getInfo().doctorBriefInfoSmallImage; // 头像
if (!TextUtils.isEmpty(headUrl)) { String headUrl = ActionHandlerStorage.getL(sessionId).getInfo().doctorBriefInfoSmallImage;
GlideApp.with(getActivity()).load(headUrl).into(small_head_img); if (!TextUtils.isEmpty(headUrl)) {
} GlideApp.with(getActivity()).load(headUrl).into(small_head_img);
// 帮助人数 }
String help_num = String.valueOf(ActionHandlerStorage.getL(sessionId).getInfo().doctorBriefInfoOrderNum); // 帮助人数
if (TextUtils.isEmpty(help_num)) help_num = "0"; String help_num = String.valueOf(ActionHandlerStorage.getL(sessionId).getInfo().doctorBriefInfoOrderNum);
help_num_tv.setText(help_num); if (TextUtils.isEmpty(help_num)) help_num = "0";
// 服务时长 help_num_tv.setText(help_num);
String server_num = String.valueOf((int) Math.ceil((double) ActionHandlerStorage.getL(sessionId).getInfo().doctorBriefInfoHelpLong / 60.0)); // 服务时长
if (TextUtils.isEmpty(server_num)) server_num = "0"; String server_num = String.valueOf((int) Math.ceil((double) ActionHandlerStorage.getL(sessionId).getInfo().doctorBriefInfoHelpLong / 60.0));
server_num_tv.setText(server_num); if (TextUtils.isEmpty(server_num)) server_num = "0";
// 好评率 server_num_tv.setText(server_num);
String good_num = String.format("%.2f", ActionHandlerStorage.getL(sessionId).getInfo().doctorBriefInfoFeedbackRate * 20); // 好评率
if (TextUtils.isEmpty(good_num)) good_num = "0.00"; String good_num = String.format("%.2f", ActionHandlerStorage.getL(sessionId).getInfo().doctorBriefInfoFeedbackRate * 20);
good_num_tv.setText(good_num + "%"); if (TextUtils.isEmpty(good_num)) good_num = "0.00";
good_num_tv.setText(good_num + "%");
if (!TextUtils.isEmpty(headUrl)) {
IP2PCustomActionHandler.DocInfo info = ActionHandlerStorage.getL(sessionId).getInfo(); if (!TextUtils.isEmpty(headUrl)) {
if (null != info) { IP2PCustomActionHandler.DocInfo info = ActionHandlerStorage.getL(sessionId).getInfo();
NimUserInfo user = NimUserInfoCache.getInstance().getUserInfo(info.toUid); if (null != info) {
if (null != user && null != user.getAvatar() && headUrl.equals(user.getAvatar())) { NimUserInfo user = NimUserInfoCache.getInstance().getUserInfo(info.toUid);
NimUserInfoCache.getInstance().getUserInfoFromRemote(info.toUid, null); if (null != user && null != user.getAvatar() && headUrl.equals(user.getAvatar())) {
NimUserInfoCache.getInstance().getUserInfoFromRemote(info.toUid, null);
}
} }
} }
} }
...@@ -347,14 +349,18 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy { ...@@ -347,14 +349,18 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
LogHelper.Companion.getInstance().writeLogSync("聊天界面点击常见问题"); LogHelper.Companion.getInstance().writeLogSync("聊天界面点击常见问题");
ActionHandlerStorage.getL(sessionId).startHelp(getActivity()); if (ActionHandlerStorage.getL(sessionId) != null) {
ActionHandlerStorage.getL(sessionId).startHelp(getActivity());
}
} }
}); });
rootView.findViewById(R.id.action_feedback).setOnClickListener(new View.OnClickListener() { rootView.findViewById(R.id.action_feedback).setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
LogHelper.Companion.getInstance().writeLogSync("聊天界面点击投诉与反馈"); LogHelper.Companion.getInstance().writeLogSync("聊天界面点击投诉与反馈");
ActionHandlerStorage.getL(sessionId).startFeedback(getActivity()); if (ActionHandlerStorage.getL(sessionId) != null) {
ActionHandlerStorage.getL(sessionId).startFeedback(getActivity());
}
} }
}); });
; ;
...@@ -362,7 +368,9 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy { ...@@ -362,7 +368,9 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
LogHelper.Companion.getInstance().writeLogSync("聊天界面点击免费热线"); LogHelper.Companion.getInstance().writeLogSync("聊天界面点击免费热线");
ActionHandlerStorage.getL(sessionId).popCallDialog(getActivity()); if (ActionHandlerStorage.getL(sessionId) != null) {
ActionHandlerStorage.getL(sessionId).popCallDialog(getActivity());
}
} }
}); });
} }
......
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