添加常量。
parent
8460b9da29
commit
f1d16808c6
|
@ -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…
Reference in New Issue