提交 | 用户 | 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 { |
|
9 |
/*成功*/ |
|
10 |
public static final String SUCCESS = "100"; |
|
11 |
/*错误提示,前端根据这个码弹出提示*/ |
|
12 |
public static final String ERROR_TIPS="200"; |
|
13 |
/*参数验证错误*/ |
|
14 |
public static final String ERROR_PARAMS_VALIDATOR="205"; |
|
15 |
/*业务验证错误*/ |
|
16 |
public static final String ERROR_SERVICE_VALIDATOR="300"; |
|
17 |
/*系统数据错误*/ |
|
18 |
public static final String ERROR_DATA_VALIDATOR="400"; |
|
19 |
/*登录有误*/ |
|
20 |
public static final String ERROR_LOGIN="603"; |
|
21 |
/*系统异常*/ |
|
22 |
public static final String ERROR_SYSTEM = "999"; |
f3ad4b
|
23 |
/*签名错误*/ |
73cd66
|
24 |
public static final String ERROR_SIGN = "203"; |
5c5945
|
25 |
|
E |
26 |
|
|
27 |
|
|
28 |
} |
|
29 |
|