Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
framework-tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c246eec2
authored
Jul 01, 2024
by
henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加枚举类
1 parent
84617814
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
arch-base/src/main/java/org/arch/enums/ExceptionEnum.java
arch-base/src/main/java/org/arch/enums/ExceptionEnum.java
View file @
c246eec
...
...
@@ -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
,
"当前用户没有权限访问该资源或者操作!"
),
;
/**
* 错误码
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment