2023-3-15
优惠券
This commit is contained in:
@@ -72,14 +72,14 @@
|
||||
let params = {
|
||||
couponId: item.id
|
||||
};
|
||||
this.clickSubMethod(item)
|
||||
let data = await Api.apiCall('post', Api.index.acceptCoupon, params);
|
||||
// console.log("data?????", data);
|
||||
// if (data) {
|
||||
// // this.$api.msg(data);
|
||||
// this.clickSubMethod(item)
|
||||
let data = await Api.apiCall('post', Api.index.acceptCoupon, params);
|
||||
console.log("data?????", data);
|
||||
if (data) {
|
||||
// this.$api.msg(data);
|
||||
this.clickSubMethod(item)
|
||||
|
||||
// }
|
||||
}
|
||||
uni.hideLoading();
|
||||
}else{
|
||||
uni.showModal({
|
||||
|
||||
@@ -385,7 +385,10 @@
|
||||
})
|
||||
console.log('index: ' + index)
|
||||
this.couponList.splice(index, 1);
|
||||
// this.getCouponList();
|
||||
uni.showLoading({
|
||||
title: '领取成功'
|
||||
});
|
||||
this.getCouponList();
|
||||
},
|
||||
|
||||
async sysInfoMethod() {
|
||||
|
||||
Reference in New Issue
Block a user