Sfoglia il codice sorgente

bug修复

guessPrice
sui 5 anni fa
parent
commit
8904d223b0
1 ha cambiato i file con 17 aggiunte e 4 eliminazioni
  1. +17
    -4
      496_dongfengqichen/pages/everyday/everyday.js

+ 17
- 4
496_dongfengqichen/pages/everyday/everyday.js Vedi File

@@ -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);
},

/**

Loading…
Annulla
Salva