This commit is contained in:
linfso 2025-06-20 11:20:04 +08:00
parent 1d081dd748
commit 61ed03dbd0

View File

@ -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 || '获取支付参数失败');