package com.hx.resultTool;
|
|
/**
|
* 统一状态码
|
* @author chenjiahe
|
* @Data: 2020-06-20
|
*/
|
public final class ResponseCode {
|
/*成功*/
|
public static final String SUCCESS = "100";
|
/*错误提示,前端根据这个码弹出提示*/
|
public static final String ERROR_TIPS="200";
|
/*参数验证错误*/
|
public static final String ERROR_PARAMS_VALIDATOR="205";
|
/*业务验证错误*/
|
public static final String ERROR_SERVICE_VALIDATOR="300";
|
/*系统数据错误*/
|
public static final String ERROR_DATA_VALIDATOR="400";
|
/*登录有误*/
|
public static final String ERROR_LOGIN="603";
|
/*系统异常*/
|
public static final String ERROR_SYSTEM = "999";
|
|
|
|
}
|