提交 | 用户 | age
|
5c5945
|
1 |
package com.hx.resultTool; |
E |
2 |
|
|
3 |
/** |
|
4 |
* 统一状态码 |
|
5 |
* @author chenjiahe |
|
6 |
* @Data: 2020-06-20 |
|
7 |
*/ |
|
8 |
public final class ResponseCode { |
e10d41
|
9 |
|
5c5945
|
10 |
/*成功*/ |
E |
11 |
public static final String SUCCESS = "100"; |
|
12 |
/*错误提示,前端根据这个码弹出提示*/ |
|
13 |
public static final String ERROR_TIPS="200"; |
|
14 |
/*参数验证错误*/ |
|
15 |
public static final String ERROR_PARAMS_VALIDATOR="205"; |
|
16 |
/*业务验证错误*/ |
|
17 |
public static final String ERROR_SERVICE_VALIDATOR="300"; |
|
18 |
/*系统数据错误*/ |
|
19 |
public static final String ERROR_DATA_VALIDATOR="400"; |
|
20 |
/*登录有误*/ |
|
21 |
public static final String ERROR_LOGIN="603"; |
|
22 |
/*系统异常*/ |
|
23 |
public static final String ERROR_SYSTEM = "999"; |
f3ad4b
|
24 |
/*签名错误*/ |
73cd66
|
25 |
public static final String ERROR_SIGN = "203"; |
5c5945
|
26 |
|
E |
27 |
|
|
28 |
|
|
29 |
} |
|
30 |
|