From 95615622e7109c56bfa1ea36544ebb2cfeec845d Mon Sep 17 00:00:00 2001 From: guanchao <18612113337@163.com> Date: Thu, 15 Oct 2026 16:54:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=A2=E6=9C=8D=E6=B8=A0=E9=81=93?= =?UTF-8?q?=E7=94=B1=E4=BA=8E=E6=B7=BB=E5=8A=A0checkUrl=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E6=94=AF?= =?UTF-8?q?=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- laf-cloud/functions/goldMiner/web/order3.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/laf-cloud/functions/goldMiner/web/order3.html b/laf-cloud/functions/goldMiner/web/order3.html index 53e837f..f722db9 100644 --- a/laf-cloud/functions/goldMiner/web/order3.html +++ b/laf-cloud/functions/goldMiner/web/order3.html @@ -120,8 +120,16 @@ setTimeout(() => { let checkUrl; - try { checkUrl = new URL(param.checkUrl || 'https://q6rvwvtnga.sealoshzh.site/wx/checkIos'); } - catch { alert('支付地址无效,请重新下单'); return; } + try { + checkUrl = new URL( + itemConfig.outTradeNo.startsWith('wct_') + ? 'https://sor779u2w8.sealoshzh.site/wx/checkIos' + : 'https://q6rvwvtnga.sealoshzh.site/wx/checkIos' + ); + } catch { + alert('支付地址无效,请重新下单'); + return; + } if (checkUrl.protocol !== 'https:' || checkUrl.pathname !== '/wx/checkIos' || checkUrl.username || checkUrl.password) { alert('支付地址无效,请重新下单'); return; }