From 2c953876eab1622e2598a3d1ab92ae29e1d88fe5 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Thu, 18 Mar 2021 11:24:33 +0800 Subject: [PATCH] API项目: 更改全局异常处理器中的返回码常量 COMMON: 更改常量类和response枚举 --- screen-common/src/main/java/com/moral/constant/Constants.java | 23 ++--------------------- 1 files changed, 2 insertions(+), 21 deletions(-) diff --git a/screen-common/src/main/java/com/moral/constant/Constants.java b/screen-common/src/main/java/com/moral/constant/Constants.java index d824510..f30292d 100644 --- a/screen-common/src/main/java/com/moral/constant/Constants.java +++ b/screen-common/src/main/java/com/moral/constant/Constants.java @@ -4,26 +4,7 @@ * ������������������ */ public class Constants { + public static String DELETE = "1"; - /** - * ������������ - */ - public static final String MSG_OPERATION_SUCCESS = "���������������"; - - /** - * ������������ - */ - public static final String MSG_OPERATION_FAILED = "���������������"; - - /** - * ������������code - */ - public static final int CODE_OPERATION_SUCCESS = 0; - /** - * ������������code - */ - public static final int CODE_OPERATION_FAILED = -1; - - - + public static String NOT_DELETE = "0"; } -- Gitblit v1.8.0