交易市场新增微信支付

This commit is contained in:
唐明明
2021-11-04 16:49:09 +08:00
parent f8aed4d12c
commit 5f7c8c36ca
4 changed files with 13 additions and 11 deletions

View File

@@ -266,7 +266,9 @@
let identity = this.identitie[this.tabsIndex].identity_id
vipOrder(identity, {
year: 1,
}).then(res => {
}).then(res => {
if (payType === 0) this.wechatAppPay(res.id)
if (payType === 1) this.aliPayConfig(res.id)
}).catch(err => {
@@ -277,7 +279,7 @@
})
},
// 支付宝支付
// 支付
aliPayConfig(orderId) {
getAliPayConfig(orderId, {
type: 'app'