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; }