From c64267850221840a52f060400e6d48696d5c581c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Wed, 17 Sep 2025 16:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=AE=A2=E5=8D=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2,=E5=BD=93=E5=8F=96=E6=B6=88=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E4=B9=8B=E5=90=8E=E8=B0=83=E7=94=A8=E5=8F=96=E6=B6=88=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/shop/groupPurchaseSubmit/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/shop/groupPurchaseSubmit/index.vue b/packages/shop/groupPurchaseSubmit/index.vue index cc193917..00a20fc2 100644 --- a/packages/shop/groupPurchaseSubmit/index.vue +++ b/packages/shop/groupPurchaseSubmit/index.vue @@ -670,9 +670,14 @@ export default { }, fail: (payErr) => { uni.showToast({ - title: payErr.errMsg == 'requestPayment:fail cancel' ? '用户取消支付' : '支付失败', + title: payErr.errMsg == 'requestPayment:fail cancel' ? '已取消支付' : '支付失败', icon: 'none' }) + const params = { + order_id: orderId, + } + request(apiArr.cancelPay, "POST", params).then(res => { + }) }, complete: () => { // 支付完成后的回调,无论成功失败都会执行