Commit 744173ce by zhiwj

修改errorCode

parent a2c19868
......@@ -8,35 +8,35 @@ public enum ErrorCode implements Error{
/**
* 缺少参数
*/
ERR_2("0002", "缺少参数"),
MISS_PARAMETER("0002", "缺少参数"),
/**
* 系统异常
*/
ERR_3("0003", "系统异常"),
SYSTEM_ERROR("0003", "系统异常"),
/**
* 登录异常
*/
ERR_4("0004", "登录异常"),
LOGIN_ERROR("0004", "登录异常"),
/**
* 输入参数错误
*/
ERR_5("0005", "输入参数错误"),
PARAMETER_ERROR("0005", "输入参数错误"),
/**
* 数据已存在
*/
ERR_6("0006", "数据已存在"),
DATA_EXISTS("0006", "数据已存在"),
/**
* 失效操作失败
*/
ERR_7("0007", "失效操作失败"),
OPERATION_FAILED("0007", "失效操作失败"),
ERR_8("0008", "不支持文档类型"),
NOTEXISTS("0008", "记录不存在"),
ERR_9999("9999", "未知错误");
UNKNOWN_ERROR("9999", "未知错误");
private String code;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment