feat: 添加错误码:刷新令牌过期

This commit is contained in:
2025-11-30 08:50:33 +08:00
parent 146d841cd8
commit 9564b1a13c
3 changed files with 9 additions and 5 deletions

View File

@ -8,5 +8,7 @@ public class Exceptions {
public static final String TOKEN_EXPIRED = "00010003";
public static final String NOT_AUTHORITY = "00010004";
public static final String REFRESH_TOKEN_INVALID = "00010004";
public static final String NOT_AUTHORITY = "00010005";
}

View File

@ -3,6 +3,7 @@
00010001=Unauthorized
00010002=Token invalid
00010003=Token expired
00010004=Forbidden
00010004=Refresh Token expired
00010005=Forbidden
00010101=Username or password is incorrect
00010102=User is not enabled

View File

@ -5,9 +5,10 @@
# 00 系统
# 0001 系统->认证授权
00010001=未授权
00010002=Token 无效
00010003=Token 已过期
00010004=权限不足
00010002=令牌无效
00010003=令牌已过期
00010004=刷新令牌已过期
00010005=权限不足
# 000101 系统->认证授权->登录
00010101=用户名或密码错误
00010102=用户已被禁用