|
|
|
|
|
|
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
if(res.data!=null){ |
|
|
if(res.data!=null){ |
|
|
app.globalData.certificationState=res.data.certificationState; |
|
|
app.globalData.certificationState=res.data.certificationState; |
|
|
wx.navigateTo({url: '../scout/scout'}) |
|
|
|
|
|
|
|
|
wx.navigateTo({url: '/pages/scout/scout'}) |
|
|
}else{ |
|
|
}else{ |
|
|
this.setData({isbtn: true}) |
|
|
this.setData({isbtn: true}) |
|
|
wx.showToast({icon:'none',title: '认证失败'}) |
|
|
wx.showToast({icon:'none',title: '认证失败'}) |
|
|
|
|
|
|
|
|
if(res.code=200 && res.data){ |
|
|
if(res.code=200 && res.data){ |
|
|
if(res.data.adminState==1){//审核通过 |
|
|
if(res.data.adminState==1){//审核通过 |
|
|
// this.setData({maskShow:true}) |
|
|
// this.setData({maskShow:true}) |
|
|
wx.navigateTo({url: '../../scout/scout'}) |
|
|
|
|
|
|
|
|
wx.navigateTo({url: '/pages/scout/scout'}) |
|
|
}else if(res.data.adminState==0 || res.data.adminState==-1){//审核中&审核失败 |
|
|
}else if(res.data.adminState==0 || res.data.adminState==-1){//审核中&审核失败 |
|
|
if(res.data.adminState==0){ |
|
|
if(res.data.adminState==0){ |
|
|
this.setData({maskShow:true}) |
|
|
this.setData({maskShow:true}) |