Merge branch 'couponV2.0' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/mobileclient into couponV2.0

This commit is contained in:
wangsongsole 2022-10-18 15:02:19 +08:00
commit 15b481e107
1 changed files with 5 additions and 1 deletions

View File

@ -519,7 +519,11 @@
createdPay (orderNumber) {
req.axiosGet('/key/coupon/createPay/' + orderNumber).then(res => {
if (res.code == 200) {
this.payWayRun(res.data);
if(res.data.pay_status){//pay_status 2已支付
window.location.replace('http://test.86885.cn/paysuccess.html?order_number='+res.data.order_number);
}else{
this.payWayRun(res.data);
}
} else {
this.openErrorDialog(res.message);
}