@@ -505,7 +505,12 @@
scoreNum: item.integral
};
verifyScore(params).then((res) => {
- if (res.code == 200) {
+ if (res.data == false) {
+ uni.showToast({
+ title: '您的积分不足'
+ })
+ }else{
+ console.log("verifyScore",res)
this.reduceScore(item)
this.addScore(item)
uni.navigateTo({