diff --git a/app.js b/app.js index deb5377..0deeeec 100644 --- a/app.js +++ b/app.js @@ -1,7 +1,7 @@ //app.js App({ //----------------------------------------------globalData-------------------------------------- - evn: 0,//0:开发环境,1:测试环境,2:生产环境 + evn: 1,//0:开发环境,1:测试环境,2:生产环境 tmplIds: ['SUjEgwDopCv9xkkSZ4KbS0L7XbAiVQor6GmPg14K760'], agentMsgIds: ['kG8DErWDpyzBHCFaLlSKYMF7xVy8UpgogCwV_WSNt10', 'lOQ8Gvyy_dTk68bYGpRVnVA0M7DsYYrV81Gd39GUPBA'], version: 152, diff --git a/pages/home/certificate/index.js b/pages/home/certificate/index.js index 4989fa4..a9a3a85 100644 --- a/pages/home/certificate/index.js +++ b/pages/home/certificate/index.js @@ -127,7 +127,7 @@ Page({ }) result.data.enterpriseName = result.data.name checkLicense(result.data).then(res => { - if(res.data.checkStatus != 0){ + if(Number(res.data.checkStatus) != 0){ this.setData({ editable : false }) } wx.hideLoading() diff --git a/pages/withdrawal/vcheckout/index.js b/pages/withdrawal/vcheckout/index.js index dacf824..61c4f54 100644 --- a/pages/withdrawal/vcheckout/index.js +++ b/pages/withdrawal/vcheckout/index.js @@ -27,9 +27,6 @@ Page({ onLoad: function (options) { this.pickerView = this.pickerView || this.selectComponent('#picker-view') this.setData({ safeBottom: app.globalData.safeBottom }) - }, - - onShow: function () { this.getUserInfo() getBankCardList().then(res => { var list = []