feat(taobao): add native mini program with shared backend

Preserve H5 flows while adding Taobao identity, native capture, reports and isolated local development. Fix canceled province selection and expired-session logout. Record passing local regressions, two pre-existing H5 assertion failures and pending platform validation.
This commit is contained in:
xsl
2026-10-19 20:14:31 +08:00
parent d07f8cc1bb
commit 9eec4369da
61 changed files with 4827 additions and 17 deletions
+6
View File
@@ -0,0 +1,6 @@
var config = require('../config');
function cameraDebugEnabled() {
return config.environment === 'development' && config.cameraDebug === true && config.transport === 'direct' &&
/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?$/.test(config.baseUrl);
}
module.exports = { cameraDebugEnabled: cameraDebugEnabled };