fix: 请求响应码常量,身份信息更换逻辑优化

This commit is contained in:
TsMask
2025-06-07 16:28:18 +08:00
parent d84a6626c1
commit 2f8ed1d821
3 changed files with 54 additions and 25 deletions

View File

@@ -19,6 +19,18 @@ export const RESULT_MSG_SUCCESS: Record<string, string> = {
/**响应-code错误失败 */
export const RESULT_CODE_ERROR = 400001;
/**响应-code身份认证失败或者过期 */
export const RESULT_CODE_AUTH = 401001;
/**响应-code无效身份信息 */
export const RESULT_CODE_AUTH_INVALID = 401002;
/**响应-code令牌字符为空 */
export const RESULT_CODE_AUTH_NOTOKEN = 401003;
/**响应-code设备指纹信息不匹配 */
export const RESULT_CODE_AUTH_DEVICE = 401004;
/**响应-code错误异常 */
export const RESULT_CODE_EXCEPTION = 500001;