From a7f8b199f5b340a10515fba42ff36a6d08b4cc15 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 26 Oct 2022 09:59:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=88=9B=E5=BB=BA=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E8=AE=A2=E5=8D=95=E6=94=AF=E4=BB=98)=EF=BC=9A?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=96=B0=E5=A2=9Etoken=EF=BC=8C=E4=BE=BF?= =?UTF-8?q?=E4=BA=8E=E5=9B=9E=E8=B0=83=E8=BF=94=E5=9B=9Etoken=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- coupon/details.html | 2 +- coupon/myOrder.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coupon/details.html b/coupon/details.html index c229b5f..9fe65b3 100644 --- a/coupon/details.html +++ b/coupon/details.html @@ -570,7 +570,7 @@ //优惠券订单支付 createdPay (orderNumber) { - req.axiosGet('/key/coupon/createPay/' + orderNumber).then(res => { + req.axiosGet('/key/coupon/createPay/' + orderNumber,{token:localStorage.getItem('token')}).then(res => { if (res.code == 200) { this.payWayRun(res.data); } else { diff --git a/coupon/myOrder.html b/coupon/myOrder.html index 4fa1f83..c2bd4b5 100644 --- a/coupon/myOrder.html +++ b/coupon/myOrder.html @@ -233,7 +233,7 @@ /* 调用支付 */ payRealFunction (isSupport) { - req.axiosGet(`/key/coupon/createPay/${this.activeOrder.order_number}`).then(({ code, data, message }) => { + req.axiosGet(`/key/coupon/createPay/${this.activeOrder.order_number}`,{token:localStorage.getItem('token')}).then(({ code, data, message }) => { if (code === 403) { this.popFunction({ title: '温馨提示', text: message, status: 2, b_text: '我知道了', show: true }) this.toPage(3)