Merge branch 'couponV2.0' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/mobileclient into couponV2.0
This commit is contained in:
commit
15b481e107
|
@ -519,7 +519,11 @@
|
||||||
createdPay (orderNumber) {
|
createdPay (orderNumber) {
|
||||||
req.axiosGet('/key/coupon/createPay/' + orderNumber).then(res => {
|
req.axiosGet('/key/coupon/createPay/' + orderNumber).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
|
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);
|
this.payWayRun(res.data);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.openErrorDialog(res.message);
|
this.openErrorDialog(res.message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue