Parcourir la source

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

tags/湖南版5.1.4
meo il y a 6 ans
Parent
révision
01b78fc244
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. +10
    -0
      pages/index/index.js

+ 10
- 0
pages/index/index.js Voir le fichier

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


Chargement…
Annuler
Enregistrer