下单逻辑修改

This commit is contained in:
GaoHao
2024-09-27 11:43:10 +08:00
parent a77a7ab716
commit a821223a3b
11 changed files with 49 additions and 18 deletions

View File

@@ -315,6 +315,12 @@
async showpopupclick(item) {
let res = await this.api.payorderPay({
orderId: item.id,
// #ifdef MP-WEIXIN
payType: 'wechatPay',
// #endif
// #ifdef MP-ALIPAY
payType: 'aliPay',
// #endif
}) //判断是否支付成功
if (res.code == 0) {
uni.showLoading({