feat(商品详情页):立减金类型创建优惠券订单联调
This commit is contained in:
parent
1c97c90bf3
commit
2c976acab6
|
@ -346,7 +346,7 @@
|
|||
let data = {
|
||||
"token": localStorage.getItem('token'),
|
||||
"key": localStorage.getItem('key'),
|
||||
"code_batch_id": this.goodInfo.code_batch_id,
|
||||
"code_batch_id": this.goodsDetail.code_batch_id,
|
||||
"goods_id": this.goodInfo.goods_id,
|
||||
"account": this.account,
|
||||
"pay_type": payType == 2 ? 1 : 5
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
if (this.pageType === 4 || this.pageType === 8) {
|
||||
window.location.href = './coupon/couponCollection.html';
|
||||
} else {
|
||||
window.location.href = '../homepage.html';
|
||||
window.location.href = './homepage.html';
|
||||
}
|
||||
}, 1000);
|
||||
} else {
|
||||
|
@ -241,7 +241,7 @@
|
|||
if (this.pageType === 4 || this.pageType === 8) {
|
||||
window.location.href = './coupon/couponCollection.html';
|
||||
} else {
|
||||
window.location.href = '../homepage.html';
|
||||
window.location.href = './homepage.html';
|
||||
}
|
||||
}, 1000);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue