|
|
|
@ -79,12 +79,7 @@ Page({ |
|
|
|
updateUserInfo(data).then(result => { |
|
|
|
wx.hideLoading() |
|
|
|
app.globalData.userInfo.isEnterpriseAuth = 1 |
|
|
|
if(!app.globalData.userInfo.isAuth){ |
|
|
|
util.showToast('企业验证成功') |
|
|
|
wx.redirectTo({ url: '/pages/home/idcard/index' }) |
|
|
|
} else { |
|
|
|
util.showBackToast('企业验证成功') |
|
|
|
} |
|
|
|
util.showBackToast('企业验证成功') |
|
|
|
}).catch(error => { |
|
|
|
wx.hideLoading() |
|
|
|
util.showToast(error) |
|
|
|
|