com.lx.constant.DefaultStatusCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lxboot3 Show documentation
Show all versions of lxboot3 Show documentation
使用文档: https://a7fi97h1rc.feishu.cn/docx/X3LRdtLhkoXQ8hxgXDQc2CLOnEg?from=from_copylink
package com.lx.constant;
/**
* 状态码
*/
public class DefaultStatusCode {
//成功
public static final int OK=20000;
// 失败
public static final int ERROR=20001;
// 用户名或密码错误
public static final int LOGINERROR=20002;
// 权限不足
public static final int ACCESSERROR=20003;
// 远程调用失败
public static final int REMOTEERROR=20004;
// 重复操作
public static final int REPERROR=20005;
// token过期
public static final int TOKERPAST=20006;
/** 自定义业务异常*/
public static final int RESULT_SERVICE_ERR=50000;
/** 业务异常*/
public static final int SERVICE_ERR=50001;
/** 参数验证异常*/
public static final int VIOLATION_ERR=50002;
/** 缺少参数异常*/
public static final int MISS_ERR=50003;
/** 参数解析异常*/
public static final int PARS_ERR=50004;
/** 接口不存在*/
public static final int NO_HADNLER_ERR=50005;
/** 接口调用次数到达上限*/
public static final int HADNLER_CALLNUMBER_UPPERLIMIT=50006;
/** 客户端与服务版本不一致*/
public static final int VERSION_ERR=50007;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy