Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
service_mall
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冯秋丽
service_mall
Commits
a6a21383
Commit
a6a21383
authored
Dec 08, 2020
by
车祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ErrorEnum-更新-chexiang
parent
9b7ba8d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
ErrorEnum.java
...ain/java/com/servicemall/systemcommon/data/ErrorEnum.java
+22
-1
No files found.
src/main/java/com/servicemall/systemcommon/data/ErrorEnum.java
View file @
a6a21383
...
...
@@ -16,7 +16,28 @@ public enum ErrorEnum {
E_200
(
200
,
"请求的服务不存在"
),
E_201
(
201
,
"请求次数超限或者过于频繁,暂时封禁"
),
E_202
(
202
,
"请求参数缺少必要字段"
),
E_203
(
203
,
"json格式有误"
);
E_203
(
203
,
"json格式有误"
),
E_301
(
300
,
"当前操作无权限"
),
E_302
(
301
,
"Token过期"
),
E_303
(
302
,
"签名sign无效"
),
E_304
(
303
,
"请求IP不被允许"
),
E_401
(
400
,
"网络错误"
),
E_402
(
401
,
"业务逻辑错误"
),
E_403
(
402
,
"数据库错误"
),
E_404
(
403
,
"文件操作错误"
),
E_501
(
500
,
"记录未发现"
),
E_502
(
501
,
"数据库中存在重复的记录"
),
E_503
(
502
,
"无数据"
),
E_504
(
503
,
"系统保护数据,不可修改或删除"
),
E_1001
(
1000
,
"账号或者密码错误"
),
E_1002
(
1001
,
"账号已经被禁用"
),
E_1003
(
1002
,
"没有登录或者长时间未操作导致登录信息丢失"
);
// 成员变量
private
int
code
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment