| @@ -307,10 +307,8 @@ Page({ | |||||
| userLogin: function(couponChannelId, couponId, orderId) { | userLogin: function(couponChannelId, couponId, orderId) { | ||||
| var that = this; | var that = this; | ||||
| // 登录 | // 登录 | ||||
| that.getGameOne(app.globalData.token) | |||||
| that.getStaticGame(app.globalData.token) | |||||
| that.getmemberId(app.globalData.token); | |||||
| that.checkUserCarStatus(); | |||||
| // that.getmemberId(app.globalData.token); | |||||
| // that.checkUserCarStatus(); | |||||
| that.getUserInfo(); | that.getUserInfo(); | ||||
| that.getBannerlist(); | that.getBannerlist(); | ||||
| if (app.couponChannelListCallback) { | if (app.couponChannelListCallback) { | ||||
| @@ -329,6 +327,8 @@ Page({ | |||||
| } | } | ||||
| }) | }) | ||||
| .then(res => { | .then(res => { | ||||
| that.getGameOne(app.globalData.token) | |||||
| that.getStaticGame(app.globalData.token) | |||||
| let weapNote = JSON.parse(res.data.weapNote); | let weapNote = JSON.parse(res.data.weapNote); | ||||
| that.setData({ | that.setData({ | ||||
| desc: weapNote.firstpage.desc, | desc: weapNote.firstpage.desc, | ||||
| @@ -336,6 +336,8 @@ Page({ | |||||
| }) | }) | ||||
| }) | }) | ||||
| .catch(err => { | .catch(err => { | ||||
| that.getGameOne(app.globalData.token) | |||||
| that.getStaticGame(app.globalData.token) | |||||
| wx.showModal({ | wx.showModal({ | ||||
| title: "提示", | title: "提示", | ||||
| content: err.errMsg, | content: err.errMsg, | ||||
| @@ -414,10 +416,17 @@ Page({ | |||||
| pageSize: 7 | pageSize: 7 | ||||
| } | } | ||||
| }).then(res => { | }).then(res => { | ||||
| that.getmemberId(app.globalData.token); | |||||
| that.checkUserCarStatus(); | |||||
| that.setData({ | that.setData({ | ||||
| list: res.data.list | list: res.data.list | ||||
| }); | }); | ||||
| }); | |||||
| }) | |||||
| .catch(err => { | |||||
| that.getmemberId(app.globalData.token); | |||||
| that.checkUserCarStatus(); | |||||
| }) | |||||
| ; | |||||
| }, | }, | ||||
| /** | /** | ||||