diff --git a/pages/index/index.js b/pages/index/index.js index bfb79ef..ee50683 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -187,6 +187,16 @@ Page({ showPages: true }) app.globalData.token = res.data.token; + if (res.data && res.data.score) { + if (res.data.score != 0){ + }else{ + wx.showToast({ + title: '获得' + res.data.score+'成长值', + duration:2000, + icon:"none" + }) + } + } Http.setToken(res.data.token); if (options&&(options.couponChannelId || options.orderId)){ that.checkuerstatus(options);