改成post调用

This commit is contained in:
2026-06-10 17:07:33 +08:00
parent f5f6885318
commit 6ca716e56c
3 changed files with 6 additions and 13 deletions

View File

@@ -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)