This commit is contained in:
唐明明
2021-11-03 10:18:31 +08:00
parent d0596bd8a2
commit 6cb32203bf
5 changed files with 44183 additions and 313 deletions

View File

@@ -177,3 +177,4 @@
"vueVersion" : "2"
}
/* SDK */

View File

@@ -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'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long