更新
This commit is contained in:
@@ -206,6 +206,9 @@
|
||||
if (this.selectTypeId === '2') {
|
||||
if (typeof res === 'string') {
|
||||
let payInfo = JSON.parse(res)
|
||||
|
||||
console.log(res)
|
||||
|
||||
uni.requestPayment({
|
||||
provider: "wxpay",
|
||||
orderInfo: payInfo,
|
||||
@@ -224,8 +227,9 @@
|
||||
}, 3000);
|
||||
},
|
||||
fail: (err) => {
|
||||
console.log(err)
|
||||
uni.showToast({
|
||||
title: '支付失败' + err.message,
|
||||
title: '支付失败' + err.errMsg,
|
||||
duration: 3000,
|
||||
mask: true,
|
||||
icon: 'none'
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
path: ''
|
||||
},
|
||||
openCondition: {},
|
||||
voucher: '', //弹窗展示得内容
|
||||
voucher: '', //弹窗展示得内容
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -297,7 +297,7 @@
|
||||
vipWechatPay(orderId, {
|
||||
type: 'app'
|
||||
}).then(res => {
|
||||
let payConfig = JSON.parse(res)
|
||||
let payConfig = JSON.parse(res)
|
||||
cashierPay.pay('wxpay', payConfig).then(payRes => {
|
||||
this.idenInfo()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user