2023-3-15

优惠券
This commit is contained in:
2023-03-15 18:47:49 +08:00
parent 127580e43f
commit 72113d9fa7
2 changed files with 10 additions and 7 deletions

View File

@@ -72,14 +72,14 @@
let params = {
couponId: item.id
};
this.clickSubMethod(item)
// 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)
console.log("data?????", data);
if (data) {
// this.$api.msg(data);
this.clickSubMethod(item)
// }
}
uni.hideLoading();
}else{
uni.showModal({