chore: 支付诊断页失败时 alert

This commit is contained in:
XingQue committed 2026-08-12 20:27:58 +08:00
1 parent a92d71ff62
commit 4f3a826481
1 file changed
+3
+3
View File
@@ -215,6 +215,9 @@
push('若含「URL未注册」,对照:微信校验 URL 必须落在商户 JSAPI 授权目录前缀下');
push('当前校验 URL', String(location.href || '').split('#')[0]);
push('调起用的 appId', appId);
try {
alert('支付失败诊断\n\n' + msg + '\n\nappId=' + appId + '\nURL=' + String(location.href || '').split('#')[0] + '\n\n完整日志在页面绿色区域,点「复制」');
} catch (e) {}
}
});
} catch (e) {