瀏覽代碼

bug修复

guessPrice
sui 5 年之前
父節點
當前提交
8904d223b0
共有 1 個文件被更改,包括 17 次插入4 次删除
  1. +17
    -4
      496_dongfengqichen/pages/everyday/everyday.js

+ 17
- 4
496_dongfengqichen/pages/everyday/everyday.js 查看文件

@@ -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…
取消
儲存