Commit 02a13305 by 刘鹏

Merge branch 'fix/lp/lp_fix_consult_bindPhone' into 'd/v4.4.04'

feat:课程按服务端返回展示int改成string接收,预约绑定手机号前校验登录

See merge request app_android_lib/YDL-Component!262
parents e251af6b 0e922466
...@@ -35,7 +35,7 @@ data class ArticleListBean( ...@@ -35,7 +35,7 @@ data class ArticleListBean(
//"url": "https://h2.yidianling.com/article/12516" //"url": "https://h2.yidianling.com/article/12516"
data class ArticleBean( data class ArticleBean(
val id:Int, val id:Int,
val readNum:Int, val readNum:String = "0",
val title:String, val title:String,
val desc:String, val desc:String,
val imgUrl:String, val imgUrl:String,
...@@ -48,7 +48,7 @@ data class ArticleBean( ...@@ -48,7 +48,7 @@ data class ArticleBean(
val mUrl:String, val mUrl:String,
val createTime:String, val createTime:String,
val createTimeFormat:String, val createTimeFormat:String,
val zanNum:Int, val zanNum:String = "0",
val categoryId:Int, val categoryId:Int,
val commentTotal:Int, val commentTotal:Int,
val label:String, val label:String,
......
...@@ -26,7 +26,7 @@ class HomeArticleBean : HomeItemBaseBean { ...@@ -26,7 +26,7 @@ class HomeArticleBean : HomeItemBaseBean {
/** /**
* 收藏数 * 收藏数
*/ */
var countOfFavorite: Int = 0 var countOfFavorite: String = "0"
var createTime: String? = null var createTime: String? = null
var createTimeFormat: String? = null var createTimeFormat: String? = null
/** /**
...@@ -55,7 +55,7 @@ class HomeArticleBean : HomeItemBaseBean { ...@@ -55,7 +55,7 @@ class HomeArticleBean : HomeItemBaseBean {
/** /**
* 阅读次数 * 阅读次数
*/ */
var readNum: Int = 0 var readNum: String = "0"
/** /**
* 120*120小头像 * 120*120小头像
*/ */
......
...@@ -158,6 +158,12 @@ class ExpertConsultServiceItemView : LinearLayout { ...@@ -158,6 +158,12 @@ class ExpertConsultServiceItemView : LinearLayout {
} }
im_expert_service_list_btn.setOnClickListener { im_expert_service_list_btn.setOnClickListener {
mContext?.let {context ->
if (!ImIn.loginByOneKeyLogin(context, true)) {
return@setOnClickListener
}
}
if (ImIn.getUserService().isBindPhone()) { if (ImIn.getUserService().isBindPhone()) {
NewH5Activity.start( NewH5Activity.start(
mContext, mContext,
......
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