添加常量。

This commit is contained in:
zhouxy108 2023-04-04 18:53:38 +08:00
parent 06ffc8d858
commit c30cca8f6a

View File

@ -2,6 +2,8 @@ package xyz.zhouxy.plusone.constant;
public class ErrorCodeConsts {
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() {
throw new IllegalStateException("Utility class");