物业缴费未支付成功的订单请求删除接口

This commit is contained in:
赵毅 2025-09-25 15:57:59 +08:00
parent e59eab06f9
commit 292a74351e
2 changed files with 36 additions and 34 deletions

View File

@ -52,4 +52,6 @@ export const apiArr = {
tradeQuery: "/api/v2/wechat/community-order-pay/trade-query", //缴费查单 tradeQuery: "/api/v2/wechat/community-order-pay/trade-query", //缴费查单
checkComm: "/api/v2/wechat/community/check-comm", //检查小区是否属于当前用户 checkComm: "/api/v2/wechat/community/check-comm", //检查小区是否属于当前用户
delPay: "/api/v2/wechat/community-order-pay/del", //检查小区是否属于当前用户
}; };

View File

@ -138,7 +138,7 @@
<view class="bottom_left"> <view class="bottom_left">
<span>合计</span> <span>合计</span>
<p></p> <p></p>
{{ currentMoney.toFixed(2) }} {{ currentMoney }}
</view> </view>
<view class="bottom_right" @click="createPay">立即支付</view> <view class="bottom_right" @click="createPay">立即支付</view>
</view> </view>
@ -506,9 +506,9 @@ export default {
icon: 'none' icon: 'none'
}) })
const params = { const params = {
order_ids: orderId, order_pay_id: this.payInfoId,
} }
request(apiArr.cancelPay, "POST", params).then(res => { request(apiArr.delPay, "POST", params).then(res => {
}) })
}, },
complete: () => { complete: () => {