diff --git a/errno.go b/errno.go index e2ff848..2f469f2 100644 --- a/errno.go +++ b/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: "无权限"}