diff --git a/front/templates/payPage.html b/front/templates/payPage.html index a30a784..4a0969a 100644 --- a/front/templates/payPage.html +++ b/front/templates/payPage.html @@ -391,14 +391,14 @@ return await response.json(); }) .then((data) => { - switch (data.status) { + switch (data.data.status) { case CONFIG.PAYMENT_STATUS.PROCESSING: // 处理中 Utils.closeLoading(); Utils.showToast("支付处理中,请稍后再试"); Utils.showPaymentStatusModal(); break; case CONFIG.PAYMENT_STATUS.SUCCESS: // 支付成功 - PaymentManager.handlePaymentSuccess(data); + PaymentManager.handlePaymentSuccess(data.data); break; default: // 其他状态(待支付/失败/关闭) // 显示未查到支付状态的提示