🦀️ fix: 修复bug

This commit is contained in:
wangsongsole 2024-02-23 16:32:12 +08:00
parent 1695eb1290
commit ead8f430fa
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@
"account": this.account, /* 卡密时默认账号 */
"pay_type": payType == 2 ? 1 : 5,
"pay_amount": this.goodsDetail.coupon_price,
'jd_code': localStorage.getItem('jd_code') || ''
'jd_code': this.goodInfo.is_e_card ? localStorage.getItem('jd_code') : ''
};
return new Promise((resolve, reject) => {
req.axiosPost('/key/createCouponOrder', data).then(res => {