Browse Source

修改微信支付无法使用的问题

zyh
Gao xiaosong 4 years ago
parent
commit
2a9492cac4
  1. 2
      libs/wechat.js

2
libs/wechat.js

@ -51,7 +51,7 @@ export const weappPay = option => {
uni.requestPayment({ uni.requestPayment({
provider: 'wxpay', provider: 'wxpay',
...option, ...option,
timeStamp: orderInfo.timestamp, timestamp: orderInfo.timestamp,
orderInfo, orderInfo,
success: success => { success: success => {
console.log(success) console.log(success)

Loading…
Cancel
Save