[...]
This commit is contained in:
@@ -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'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user