From a3e7c4f333fb096458eb935a22c23bae785b20f1 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Tue, 18 Oct 2022 14:38:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=88=9B=E5=BB=BA=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E8=AE=A2=E5=8D=95):=E4=BF=AE=E5=A4=8D=E3=80=90c?= =?UTF-8?q?=E7=AB=AF=E3=80=91=E5=88=B8=E5=90=8E=E4=BB=B7=E4=B8=BA0?= =?UTF-8?q?=E7=9A=84=EF=BC=8C=E7=82=B9=E5=87=BB=E7=AB=8B=E5=8D=B3=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E7=9B=B4=E6=8E=A5=E5=88=9B=E5=BB=BA=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E9=9C=80=E8=A6=81=E5=88=B0=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=88=96=E6=94=AF=E4=BB=98=E5=AE=9D=E8=BF=9B=E8=A1=8C=E6=94=AF?= =?UTF-8?q?=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- coupon/details.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/coupon/details.html b/coupon/details.html index b6c00a3..64c59a0 100644 --- a/coupon/details.html +++ b/coupon/details.html @@ -451,7 +451,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); }