md
This commit is contained in:
parent
1d081dd748
commit
61ed03dbd0
@ -276,10 +276,12 @@ export default {
|
|||||||
settleBillNo: state
|
settleBillNo: state
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
console.log("===>requestPayment==response=>",response.data);
|
console.log("===>requestPayment==response=>",response);
|
||||||
|
console.log("===>requestPayment==response.data=>",response.data);
|
||||||
this.loadingVisible = false;
|
this.loadingVisible = false;
|
||||||
if (response.code === 200) {
|
if (response.data.code === 200) {
|
||||||
this.wechatPaymentParams = response.data;
|
this.wechatPaymentParams = response.data.data;
|
||||||
|
console.log("===>wechatPaymentParams==wechatPaymentParams=>", this.wechatPaymentParams);
|
||||||
this.invokeWechatPayment();
|
this.invokeWechatPayment();
|
||||||
} else {
|
} else {
|
||||||
this.showPaymentResult(false, response.message || '获取支付参数失败');
|
this.showPaymentResult(false, response.message || '获取支付参数失败');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user