Commit c246eec2 by henry

添加枚举类

1 parent 84617814
......@@ -9,12 +9,10 @@ public enum ExceptionEnum {
USER_NO_LOGIN(501,"用户未登录!"),
USER_ACCOUNT_NOT_EXIST(502,"账户信息不存在!"),
USER_ACCOUNT_NOT_ACTIVATE(503,"账户未激活!"),
//用户登录
USER_LOGIN_USERNAME_EMPTY(500,"登录用户名为空"),
USER_LOGIN_PASSWORD_EMPTY(500,"登录密码名为空"),
USER_LOGIN_USERNAME_PASSWORD_ERROR(500,"登录用户名或者密码名错误"),
//登录模块异常
NOT_LOGIN (501, "当前用户没有登录,请先进行登录!"),
ACCESS_TOKEN_NOT_BLANK (502,"accessToken为空,请先登录!"),
......@@ -23,9 +21,6 @@ public enum ExceptionEnum {
ACCESS_TOKEN_NOT_EXISTS_REDIS (507,"accessToken不存在或已经过期,请重新登录!"),
LOGIN_FAIL (508,"登录失败!"),
CURR_USER_HAS_NOT_PERMISSION (509,"当前用户没有权限访问该资源或者操作!"),
;
/**
* 错误码
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!