feat(miniapp): improve session navigation and auth guard

This commit is contained in:
john
2026-07-11 08:51:30 +08:00
parent 9e5a59b7d9
commit 0fd34a5644
7 changed files with 158 additions and 8 deletions
+1
View File
@@ -1,6 +1,7 @@
module.exports = {
API_BASE_URL: 'https://h5.tkmind.cn',
MINIAPP_LOGIN_PATH: '/auth/wechat-miniapp/login',
SELECTED_SESSION_KEY: 'tkmind_selected_session_id',
AGENT_RUN_POLL_MS: 1200,
AGENT_RUN_MAX_POLLS: 120
};