diff --git a/v2_0_0_C/coupon/exchange.html b/v2_0_0_C/coupon/exchange.html index b4ecc65..727bc55 100644 --- a/v2_0_0_C/coupon/exchange.html +++ b/v2_0_0_C/coupon/exchange.html @@ -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 diff --git a/v2_0_0_C/index.html b/v2_0_0_C/index.html index 9faf03b..95ed5f1 100644 --- a/v2_0_0_C/index.html +++ b/v2_0_0_C/index.html @@ -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 {