From 6ca716e56c87a6641e06c8ad6e2128e63547cd2d Mon Sep 17 00:00:00 2001 From: RuicyWu <1063154311@qq.com> Date: Wed, 10 Jun 2026 17:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E6=88=90post=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages-biz/unpaid/unpaid.vue | 8 +++----- pages-biz/unpaid/unpaidMargin.vue | 6 ++---- pages-biz/wae/wae.vue | 5 +---- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/pages-biz/unpaid/unpaid.vue b/pages-biz/unpaid/unpaid.vue index 6c53a8c..f85bc18 100644 --- a/pages-biz/unpaid/unpaid.vue +++ b/pages-biz/unpaid/unpaid.vue @@ -282,11 +282,9 @@ } else if (err.errMsg?.includes("fail")) { reason = "支付失败,请重试"; } - - this.$u.get(`/bill/paycallback`, { - orderId: orderId, - payResult: "FAIL" - }, { WT: this.$getToken() }).then(res => { + + this.$u.post(`/bill/paycallback?orderId=${orderId}&payResult=FAIL`, {}, { + WT: this.$getToken() }).then(res => { console.log("回调成功", res) }).catch(err => { console.log("回调失败", err) diff --git a/pages-biz/unpaid/unpaidMargin.vue b/pages-biz/unpaid/unpaidMargin.vue index e8621f8..96d082c 100644 --- a/pages-biz/unpaid/unpaidMargin.vue +++ b/pages-biz/unpaid/unpaidMargin.vue @@ -285,10 +285,8 @@ reason = "支付失败,请重试"; } - this.$u.get(`/bill/paycallback`, { - orderId: orderId, - payResult: "FAIL" - }, { WT: this.$getToken() }).then(res => { + this.$u.post(`/bill/paycallback?orderId=${orderId}&payResult=FAIL`, {}, { + WT: this.$getToken() }).then(res => { console.log("回调成功", res) }).catch(err => { console.log("回调失败", err) diff --git a/pages-biz/wae/wae.vue b/pages-biz/wae/wae.vue index 7771183..4c965cb 100644 --- a/pages-biz/wae/wae.vue +++ b/pages-biz/wae/wae.vue @@ -260,10 +260,7 @@ reason = "支付失败,请重试"; } - this.$u.get(`/bill/paycallback`, { - orderId: orderId, - payResult: "FAIL" - }, { + this.$u.post(`/bill/paycallback?orderId=${orderId}&payResult=FAIL`, {}, { WT: this.$getToken() }).then(res => { console.log("回调成功")