Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-backend
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
cloud-backend
Commits
4c9f5e8c
Commit
4c9f5e8c
authored
Jul 27, 2021
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.0.0
parent
6d054b70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
api-server/src/main/java/com/zq/api/constant/ApiCodeEnum.java
+13
-13
No files found.
api-server/src/main/java/com/zq/api/constant/ApiCodeEnum.java
View file @
4c9f5e8c
...
...
@@ -19,49 +19,44 @@ public enum ApiCodeEnum {
UNKNOWN_ERROR
(
"100"
,
"未知错误"
),
/**
* 登陆验证失败
*/
LOGIN_VALID_ERROR
(
"101"
,
"登陆验证失败"
),
/**
* 版本号错误
*/
VERSION_ERROR
(
"10
2
"
,
"版本号错误"
),
VERSION_ERROR
(
"10
1
"
,
"版本号错误"
),
/**
* 调用方法不存在
*/
METHOD_ERROR
(
"10
3
"
,
"调用方法不存在"
),
METHOD_ERROR
(
"10
2
"
,
"调用方法不存在"
),
/**
* 调用方法异常
*/
METHOD_HANDLER_ERROR
(
"10
4
"
,
"调用方法异常"
),
METHOD_HANDLER_ERROR
(
"10
3
"
,
"调用方法异常"
),
/**
* 传递参数异常
*/
PARAM_ERROR
(
"10
5
"
,
"传递参数异常"
),
PARAM_ERROR
(
"10
4
"
,
"传递参数异常"
),
/**
* IP黑名单拦截
*/
IP_BLACK
(
"10
6
"
,
"IP黑名单拦截"
),
IP_BLACK
(
"10
5
"
,
"IP黑名单拦截"
),
/**
* API服务维护中
*/
SERVER_MAINTAIN
(
"10
7
"
,
"API服务维护中"
),
SERVER_MAINTAIN
(
"10
6
"
,
"API服务维护中"
),
/**
* 签名校验失败
*/
CHECK_SIGN_VALID_ERROR
(
"10
8
"
,
"签名校验失败"
),
CHECK_SIGN_VALID_ERROR
(
"10
7
"
,
"签名校验失败"
),
/**
* 服务不可用
*/
SERVICE_NOT_AVAILABLE
(
"10
9
"
,
"服务不可用"
),
SERVICE_NOT_AVAILABLE
(
"10
8
"
,
"服务不可用"
),
/**
* 业务处理失败
...
...
@@ -69,6 +64,11 @@ public enum ApiCodeEnum {
BUSINESS_ERROR
(
"400"
,
"业务处理失败"
),
/**
* 登陆验证失败
*/
LOGIN_VALID_ERROR
(
"401"
,
"登陆验证失败"
),
/**
* 服务器繁忙
*/
SERVER_ERROR
(
"500"
,
"服务器繁忙"
),
...
...
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