|
|
@@ -247,7 +247,8 @@ Page({
|
|
|
console.log(res)
|
|
|
that.setData({
|
|
|
info: res.data,
|
|
|
- show: res.data.wx_user?res.data.wx_user.show_invite_mode:''
|
|
|
+ show: res.data.wx_user?res.data.wx_user.show_invite_mode:'',
|
|
|
+ bindTel: res.data.tel ? true : false
|
|
|
})
|
|
|
}
|
|
|
_request.$get(url, params, success)
|
|
|
@@ -273,9 +274,9 @@ Page({
|
|
|
that.getmerchant()
|
|
|
}
|
|
|
if (res.data.user_id > 0 && !that.data.bindTel) {
|
|
|
- that.setData({
|
|
|
- bindTel: true
|
|
|
- })
|
|
|
+ // that.setData({
|
|
|
+ // bindTel: true
|
|
|
+ // })
|
|
|
that.getBalanceInfo()
|
|
|
that.getIntegralInfo()
|
|
|
that.info()
|