|
|
@@ -80,10 +80,23 @@ Page({ |
|
|
|
/** |
|
|
|
* 星探任务 |
|
|
|
*/ |
|
|
|
goScout(){ |
|
|
|
wx.navigateTo({ |
|
|
|
url: '../scout/scout' |
|
|
|
}) |
|
|
|
goScout() { |
|
|
|
app.wxRequest(app.globalData.urlRoot + "userInfo/getCertificationInfo", {}, res => { |
|
|
|
if (res.code == 200) { |
|
|
|
app.globalData.certificationState = res.data.certificationState; |
|
|
|
wx.navigateTo({ |
|
|
|
url: '/pages/scout/scout' |
|
|
|
}) |
|
|
|
} else if (res.code == -307) { |
|
|
|
wx.navigateTo({ |
|
|
|
url: '/pages/mobileVerification/mobileVerification' |
|
|
|
}) |
|
|
|
} else if (res.code == -308) { |
|
|
|
wx.navigateTo({ |
|
|
|
url: '/pages/scout/register/register' |
|
|
|
}) |
|
|
|
} |
|
|
|
}, this); |
|
|
|
}, |
|
|
|
|
|
|
|
/** |