修改物业缴费支付成功后的逻辑
This commit is contained in:
parent
c118145c8b
commit
94a17c7107
@ -515,14 +515,14 @@ export default {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确定使用物业公积金支付?',
|
||||
success: async function (res) {
|
||||
success: async (res) => {
|
||||
if (res.confirm) {
|
||||
await request(apiArr.createPayOrder, "POST", payParams).then((res) => {
|
||||
const params = {
|
||||
order_pay_id: res.id,
|
||||
}
|
||||
request(apiArr.tradeQuery, "POST", params).then(res => {
|
||||
if (res && res.pay_status == 1) {
|
||||
console.log("🚀 ~ createPay ~ res:", res)
|
||||
uni.showToast({
|
||||
title: '支付成功',
|
||||
icon: 'success',
|
||||
@ -530,7 +530,6 @@ export default {
|
||||
});
|
||||
this.getRoomSelect();
|
||||
this.getUserGovenmentMoney();
|
||||
}
|
||||
})
|
||||
});
|
||||
} else if (res.cancel) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user