This commit is contained in:
2021-10-25 16:23:23 +08:00
parent 2bc9ea63c0
commit ad67333bbf
17 changed files with 202 additions and 218 deletions

View File

@@ -248,8 +248,9 @@
wechatAppPay(orderId){
vipWechatPay(orderId,{
type: 'app'
}).then(res=>{
}).then(res=>{
let payConfig = JSON.parse(res)
console.log(payConfig,'console.log(res)')
uni.requestPayment({
provider: 'wxpay',
orderInfo: {...payConfig},
@@ -259,13 +260,14 @@
content : "支付成功,已成功开通/升级节点身份",
showCancel : false,
success : ()=> {
this.idenInfo()
this.idenInfo()
}
})
},
fail: payErr => {
fail: payErr => {
console.log(payErr,'console.log(payErr)')
uni.showToast({
title: '支付已被取消',
title: '支付失败,原因:' + payErr.errMsg,
icon : 'none'
})
}