fix:修复【C端】【优惠券】0元订单支付成功页面,点击去兑换,提示支付结算中,无法去兑换;点击返回,提示重新登录。
This commit is contained in:
parent
93fd9e848e
commit
4a076feeb9
|
@ -542,7 +542,7 @@
|
||||||
let orderInfo = await this.createdOrder(payType);
|
let orderInfo = await this.createdOrder(payType);
|
||||||
if (orderInfo.pay_status == 2 || [1, 2].includes(orderInfo.channel)) {//pay_status 2已支付 channel 1 支付宝 2微信
|
if (orderInfo.pay_status == 2 || [1, 2].includes(orderInfo.channel)) {//pay_status 2已支付 channel 1 支付宝 2微信
|
||||||
let orderNumber = orderInfo.pay_status == 2 ? orderInfo.order_number : orderInfo.original_order_number;
|
let orderNumber = orderInfo.pay_status == 2 ? orderInfo.order_number : orderInfo.original_order_number;
|
||||||
window.location.replace('/paysuccess.html?order_number=' + orderNumber);
|
window.location.replace('/paysuccess.html?order_number=' + orderNumber+'&token='+localStorage.getItem('token'));
|
||||||
} else {
|
} else {
|
||||||
this.createdPay(orderInfo.order_number);
|
this.createdPay(orderInfo.order_number);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue