6 lines
274 B
TypeScript
6 lines
274 B
TypeScript
export const COOKIE_NAME = "app_session_id";
|
|
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 = '请先修改初始密码';
|