添加常量。
This commit is contained in:
parent
06ffc8d858
commit
c30cca8f6a
@ -2,6 +2,8 @@ package xyz.zhouxy.plusone.constant;
|
|||||||
|
|
||||||
public class ErrorCodeConsts {
|
public class ErrorCodeConsts {
|
||||||
public static final int DEFAULT_ERROR_CODE = 9999999;
|
public static final int DEFAULT_ERROR_CODE = 9999999;
|
||||||
|
public static final int DEFAULT_SYS_ERROR_CODE = 5000000;
|
||||||
|
public static final int DEFAULT_BIZ_ERROR_CODE = 4000000;
|
||||||
|
|
||||||
private ErrorCodeConsts() {
|
private ErrorCodeConsts() {
|
||||||
throw new IllegalStateException("Utility class");
|
throw new IllegalStateException("Utility class");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user