feat: add local access control and managed point clouds

This commit is contained in:
2026-07-22 11:05:48 +08:00
parent 683e4d6c07
commit 8555aa2f2e
46 changed files with 1982 additions and 884 deletions

View File

@@ -1,5 +1,5 @@
export const COOKIE_NAME = "app_session_id";
export const ONE_YEAR_MS = 1000 * 60 * 60 * 24 * 365;
export const AXIOS_TIMEOUT_MS = 30_000;
export const UNAUTHED_ERR_MSG = 'Please login (10001)';
export const NOT_ADMIN_ERR_MSG = 'You do not have required permission (10002)';
export const SESSION_TTL_MS = 1000 * 60 * 60 * 24;
export const UNAUTHED_ERR_MSG = '请先登录';
export const NOT_ADMIN_ERR_MSG = '无权执行此操作';
export const MUST_CHANGE_PASSWORD_ERR_MSG = '请先修改初始密码';