|
@@ -169,7 +169,7 @@ export default {
|
|
|
this.payParams.code = await authorize.getCode('weixin')
|
|
|
this.PayService.PayOrderVipWechat(this.payParams)
|
|
|
.then(response => {
|
|
|
- let PayInfo = JSON.parse(response.data.rt10_payInfo)
|
|
|
+ let PayInfo = JSON.parse(response.data.data.payInfo)
|
|
|
this.WxRequestPayment(PayInfo)
|
|
|
})
|
|
|
.catch(error => {
|
|
@@ -179,6 +179,7 @@ export default {
|
|
|
WxRequestPayment(data) {
|
|
|
// 微信支付Api
|
|
|
let self = this
|
|
|
+ console.log('data',data)
|
|
|
wx.requestPayment({
|
|
|
timeStamp: data.timeStamp,
|
|
|
nonceStr: data.nonceStr,
|