123456789101112131415161718192021222324252627282930313233 |
- package com.yihu.jkedu.comm;
- /**
- * <p>Description:异常编码实体类</p>
- * <p>Company: yihu.com</p>
- */
- public final class Code {
- //成功
- public static final int SUCCESS = 10000;
- //失败
- public static final int FAIL = -10000;
- //3参数不匹配异常
- public static final int ILLEGAL_ARGUMENT_MISMATCH_CODE = -10001;
- //4JSON格式异常
- public static final int JSON_ILLEGAL_CODE = -10002;
- //4参数有误,数据不存在
- public static final int DATA_NO_EXIST = -10003;
- //4中间某个业务失败异常编码
- public static final int BUSINESS_ERROR_CODE = -10004;
- //重复提交,比如某个问题已经关闭再次关闭时提示 已经关闭
- public static final int BUSINESS_REPEAT_SUCCESS = -10005;
- //异常
- public static final int ERROR = -14444;
-
- //已绑定手机
- public static final int BINDED = 1;
-
- //未绑定手机
- public static final int NOBIND = 2;
-
- }
|