下单逻辑修改
This commit is contained in:
@@ -225,6 +225,12 @@
|
||||
async wechatPay() {
|
||||
let res = await this.api.payorderPay({
|
||||
orderId: this.orderId,
|
||||
// #ifdef MP-WEIXIN
|
||||
payType: 'wechatPay',
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
payType: 'aliPay',
|
||||
// #endif
|
||||
}) //判断是否支付成功
|
||||
if (res.code == 0) {
|
||||
uni.showLoading({
|
||||
|
||||
Reference in New Issue
Block a user