mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
添加测试类,去除多余的import
This commit is contained in:
@@ -9,7 +9,10 @@ public enum BusinessErrorCode implements CommonError {
|
||||
USER_NOT_EXIST(20001, "用户不存在"),
|
||||
USER_LOGIN_FAILED(20002, "用户手机号或密码不正确"),
|
||||
USER_NOT_LOGIN(20003, "用户还未登录"),
|
||||
USER_TOKEN_EXPIRED(20004, "用户令牌过期");
|
||||
USER_TOKEN_EXPIRED(20004, "用户令牌过期"),
|
||||
|
||||
// 30000开头为权限相关错误定义
|
||||
OPERATION_NOT_ALLOWED(30001, "用户没有此操作的权限");
|
||||
|
||||
|
||||
private BusinessErrorCode(int errCode, String errMsg) {
|
||||
|
Reference in New Issue
Block a user