Commit 3f8b0284 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 13befde2
......@@ -22,7 +22,7 @@ public class UserBean implements Serializable {
private long createTime;// 用户id
private int sex;// 性别
private int sex;// 性别 1-男 2-女
private String shareCode;// 分享码
private boolean hasBase;// 是否填写基础资料
private int idcardStatus;//认证状态,0-未认证 1 已认证 2-认证中
......
......@@ -167,7 +167,7 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
ll_my_auth.visibility = View.GONE
// 男性展示充值的金币
tv_my_coin.text = "" + data.beans
} else {
} else if (data.sex == 2){
if (data.idcardStatus == 2 || data.idcardStatus == 0) {
ll_my_auth.visibility = View.VISIBLE
}
......
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