From 01b78fc2444448795239c95a8a8c04aa11777e56 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 28 Mar 2019 14:40:50 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=99=BB=E5=BD=95][=E4=BF=AE=E6=94=B9]:[?= =?UTF-8?q?=E8=8E=B7=E5=BE=97=E6=88=90=E9=95=BF=E5=80=BC]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) 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);