1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

添加测试类,去除多余的import

This commit is contained in:
2022-04-04 00:47:14 +08:00
parent 1b2d61723e
commit 8d30e4898d
8 changed files with 84 additions and 40 deletions

View File

@@ -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) {