|
|
@@ -59,23 +59,17 @@ Page({ |
|
|
|
phonebolb:function(_phone){ |
|
|
|
app.wxRequest(app.globalData.urlRoot + "userInfo/getCertificationInfo", {}, res => { |
|
|
|
if (res.code == 200) { |
|
|
|
// if(res.data!=null){ |
|
|
|
app.globalData.certificationState = res.data.certificationState; |
|
|
|
wx.navigateTo({ |
|
|
|
url: '../scout/scout' |
|
|
|
url: '/pages/scout/scout' |
|
|
|
}) |
|
|
|
// }else{ |
|
|
|
// wx.navigateTo({ |
|
|
|
// url: '../scout/register/register' |
|
|
|
// }) |
|
|
|
// } |
|
|
|
} else if (res.code == -307){ |
|
|
|
wx.navigateTo({ |
|
|
|
url: '../mobileVerification/mobileVerification' |
|
|
|
url: '/pages/mobileVerification/mobileVerification' |
|
|
|
}) |
|
|
|
} else if (res.code == -308) { |
|
|
|
wx.navigateTo({ |
|
|
|
url: '../scout/register/register' |
|
|
|
url: '/pages/scout/register/register' |
|
|
|
}) |
|
|
|
}else{ |
|
|
|
this.setData({isbtn: true}) |