feat: 统一响应格式与消息国际化
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
00000000=success
|
||||
99999999=failure
|
||||
00010001=Unauthorized
|
||||
00010002=Token invalid
|
||||
00010003=Token expired
|
||||
00010004=Forbidden
|
||||
00010101=Username or password is incorrect
|
||||
00010102=User is not enabled
|
||||
@ -0,0 +1,13 @@
|
||||
|
||||
00000000=成功
|
||||
99999999=失败
|
||||
|
||||
# 00 系统
|
||||
# 0001 系统->认证授权
|
||||
00010001=未授权
|
||||
00010002=Token 无效
|
||||
00010003=Token 已过期
|
||||
00010004=权限不足
|
||||
# 000101 系统->认证授权->登录
|
||||
00010101=用户名或密码错误
|
||||
00010102=用户已被禁用
|
||||
Reference in New Issue
Block a user