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("回调成功")