[feat] 丰富 20300 错误提示
This commit is contained in:
parent
cc13271821
commit
8ed7df206b
2
errno.go
2
errno.go
@ -64,7 +64,7 @@ var (
|
||||
ErrTokenNotFound = &Errno{Code: 20202, Msg: "token 不存在"}
|
||||
|
||||
// 用户错误, 前缀为 203
|
||||
ErrUserNotLogin = &Errno{Code: 20300, Msg: "请登录"}
|
||||
ErrUserNotLogin = &Errno{Code: 20300, Msg: "请先登录"}
|
||||
ErrUserNotFound = &Errno{Code: 20301, Msg: "用户没找到"}
|
||||
ErrUserPassword = &Errno{Code: 20302, Msg: "用户名或密码错误"}
|
||||
ErrUserAuth = &Errno{Code: 20303, Msg: "无权限"}
|
||||
|
Loading…
Reference in New Issue
Block a user