chore: 支付诊断页失败时 alert
This commit is contained in:
1 parent
a92d71ff62
commit
4f3a826481
1 file changed
+3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user