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