提交 | 用户 | 时间
|
a6de49
|
1 |
/** |
H |
2 |
* Copyright (c) 2018 人人开源 All rights reserved. |
|
3 |
* |
|
4 |
* https://www.renren.io |
|
5 |
* |
|
6 |
* 版权所有,侵权必究! |
|
7 |
*/ |
|
8 |
|
|
9 |
package com.iailab.framework.common.enums; |
|
10 |
|
|
11 |
/** |
|
12 |
* 错误编码,由5位数字组成,前2位为模块编码,后3位为业务编码 |
|
13 |
* <p> |
|
14 |
* 如:10001(10代表系统模块,001代表业务代码) |
|
15 |
* </p> |
|
16 |
* |
|
17 |
* @author Mark sunlightcs@gmail.com |
|
18 |
* @since 1.0.0 |
|
19 |
*/ |
|
20 |
public interface ErrorCode { |
|
21 |
int INTERNAL_SERVER_ERROR = 500; |
|
22 |
int UNAUTHORIZED = 401; |
|
23 |
|
|
24 |
int NOT_NULL = 10001; |
|
25 |
int DB_RECORD_EXISTS = 10002; |
|
26 |
int PARAMS_GET_ERROR = 10003; |
|
27 |
int ACCOUNT_PASSWORD_ERROR = 10004; |
|
28 |
int ACCOUNT_DISABLE = 10005; |
|
29 |
int IDENTIFIER_NOT_NULL = 10006; |
|
30 |
int CAPTCHA_ERROR = 10007; |
|
31 |
int SUB_MENU_EXIST = 10008; |
|
32 |
int PASSWORD_ERROR = 10009; |
|
33 |
int SUPERIOR_DEPT_ERROR = 10011; |
|
34 |
int SUPERIOR_MENU_ERROR = 10012; |
|
35 |
int DATA_SCOPE_PARAMS_ERROR = 10013; |
|
36 |
int DEPT_SUB_DELETE_ERROR = 10014; |
|
37 |
int DEPT_USER_DELETE_ERROR = 10015; |
|
38 |
int UPLOAD_FILE_EMPTY = 10019; |
|
39 |
int TOKEN_NOT_EMPTY = 10020; |
|
40 |
int TOKEN_INVALID = 10021; |
|
41 |
int ACCOUNT_LOCK = 10022; |
|
42 |
int OSS_UPLOAD_FILE_ERROR = 10024; |
|
43 |
int REDIS_ERROR = 10027; |
|
44 |
int JOB_ERROR = 10028; |
|
45 |
int INVALID_SYMBOL = 10029; |
|
46 |
} |