提交 | 用户 | age
|
826b66
|
1 |
package com.hx.resultTool; |
C |
2 |
|
|
3 |
/** |
|
4 |
* 统一状态码 |
|
5 |
* @author chenjiahe |
|
6 |
* @Data: 2020-06-20 |
|
7 |
*/ |
|
8 |
public final class ResponseCode { |
|
9 |
|
|
10 |
/*成功*/ |
|
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"; |
|
24 |
/*签名错误*/ |
|
25 |
public static final String ERROR_SIGN = "203"; |
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
} |
|
30 |
|