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