From 2cc8e3c2483f31f7da16f0ff6de6411c66349fac Mon Sep 17 00:00:00 2001 From: wolter <11@gmail> Date: Tue, 22 Jul 2025 13:42:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=963?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/templates/payPage.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/front/templates/payPage.html b/front/templates/payPage.html index ff1b2a0..b9d37b7 100644 --- a/front/templates/payPage.html +++ b/front/templates/payPage.html @@ -188,7 +188,7 @@ closeLoading(); return; } - + alert(`no:${id}`); // 查询订单状态 fetch(`/pay/front/api/v1/payPage/query?no=${id}`, { method: "POST", @@ -199,7 +199,7 @@ }) .then((data) => { closeLoading(); - alert(data.status); + alert(`订单状态:${data}`); switch (data.status) { case 2: // 处理中 handlePaymentCallback(); // 重查状态 @@ -265,9 +265,9 @@ .catch((error) => { closeLoading(); console.error("获取支付方式失败:", error); - const pay = document.getElementById("pay"); - pay.innerHTML = - '
{{.message}}
-