Selaa lähdekoodia

[登录][修改]:[获得成长值]

tags/湖南版5.1.4
meo 6 vuotta sitten
vanhempi
commit
01b78fc244
1 muutettua tiedostoa jossa 10 lisäystä ja 0 poistoa
  1. +10
    -0
      pages/index/index.js

+ 10
- 0
pages/index/index.js Näytä tiedosto

@@ -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);


Ladataan…
Peruuta
Tallenna