@@ -111,7 +111,15 @@ Page({
request.postData(
'app/pay/wxpay/program/unified',{orderId: orderId},
res => {
- console.log(res)
+ wx.requestPayment({
+ timeStamp: res.data.data.timeStamp,
+ nonceStr: res.data.data.nonceStr,
+ package: res.data.data.packageVal,
+ signType: 'RSA',
+ paySign: res.data.data.paySign,
+ success (res) { },
+ fail (res) { }
+ })
},
console.log(res)