diff --git a/front/templates/payPage.html b/front/templates/payPage.html
index b70ce55..22daac7 100644
--- a/front/templates/payPage.html
+++ b/front/templates/payPage.html
@@ -202,7 +202,6 @@
}
break;
default: // 其他状态(待支付/失败/关闭)
- alert("其他状态(待支付/失败/关闭)");
fetchPaymentMethods();
// window.location.reload();
}
@@ -215,7 +214,9 @@
// 获取支付方式列表
function fetchPaymentMethods() {
+
const id = getQueryParam('no');
+ alert(id, 'zgp')
if (id) {
fetch(`/pay/front/api/v1/payPage/list?id=${id}`, {
method: 'POST',
@@ -243,6 +244,7 @@
alert(localStorage.getItem('auto-redirect'));
if(localStorage.getItem('auto-redirect') == 2){
// 如果有自动跳转标记,展示支付界面
+ alert('afkldsjkl')
renderPaymentMethods(data.data);
}else{
// 否则设置自动跳转标记,并跳转