diff --git a/coupon/details.html b/coupon/details.html index 3297f67..d85862b 100644 --- a/coupon/details.html +++ b/coupon/details.html @@ -554,7 +554,7 @@ let data = { "token": localStorage.getItem('token'), "key": localStorage.getItem('key'), - "code_batch_id": this.goodsDetail.code_batch_id, + "code_batch_id": this.goodsDetail.coupon.code_batch_id||this.goodsDetail.code_batch_id, "goods_id": this.goodInfo.goods_id, "account": this.account || '888888', /* 卡密时默认账号 */ "pay_type": payType == 2 ? 1 : 5,