mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-06-11 00:12:28 +08:00
改成post调用
This commit is contained in:
@@ -283,10 +283,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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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("回调成功")
|
||||
|
||||
Reference in New Issue
Block a user