refactor: 登录超时逻辑

This commit is contained in:
dap
2025-07-04 15:41:09 +08:00
parent 7535bd6096
commit 29dd4ce7f7
4 changed files with 91 additions and 42 deletions

View File

@@ -26,3 +26,13 @@ export const SUPPORT_LANGUAGES: LanguageOption[] = [
* 默认租户ID
*/
export const DEFAULT_TENANT_ID = '000000';
/**
* 业务成功 状态码
*/
export const BUSINESS_SUCCESS_CODE = 200;
/**
* 未授权 状态码(登录超时)
*/
export const UNAUTHORIZED_CODE = 401;