refactor(enum): ♻️ 统一枚举命名规范

This commit is contained in:
Ray.Hao
2025-09-21 10:00:25 +08:00
parent 7bda1a7cc4
commit 39f124ed61
8 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/**
* 响应码枚举
*/
export const enum ResultEnum {
/**
* 成功
*/
SUCCESS = "00000",
/**
* 错误
*/
ERROR = "B0001",
/**
* 访问令牌无效或过期
*/
ACCESS_TOKEN_INVALID = "A0230",
/**
* 刷新令牌无效或过期
*/
REFRESH_TOKEN_INVALID = "A0231",
}