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: () => { // 支付完成后的回调,无论成功失败都会执行