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 |   52 ++--------------------------------------------------
 1 files changed, 2 insertions(+), 50 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 5c17ba4..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,55 +4,7 @@
  * ������������������
  */
 public class Constants {
+    public static String DELETE = "1";
 
-    /**
-     * ������������
-     */
-    public static final String MSG_OPERATION_SUCCESS = "���������������";
-
-    /**
-     * ������������
-     */
-    public static final String MSG_OPERATION_FAILED = "���������������";
-
-    /*
-    * token������
-    * */
-    public static final String MSG_TOKEN_ERROR = "token������������������������";
-
-    /*
-    * token������������
-    * */
-    public static final String MSG_TOKEN_CREATE_ERROR = "token���������������������������������";
-
-    /*
-    * ���������������������������
-    * */
-    public static final String MSG_PARAMETER_IS_MISSING = "������������";
-
-    /**
-     * ������������code
-     */
-    public static final int CODE_OPERATION_SUCCESS = 0;
-    /**
-     * ������������code
-     */
-    public static final int CODE_OPERATION_FAILED = -1;
-
-    /*
-    * ���������������������������
-    * */
-    public static final int CODE_PARAMETER_IS_MISSING = -2;
-
-    /**
-     * token������������
-     */
-    public static final int CODE_TOKEN_ERROR = -10;
-
-    /*
-    * token������������
-    * */
-    public static final int CODE_TOKEN_CREATE_ERROR = -11;
-
-
+    public static String NOT_DELETE = "0";
 }

--
Gitblit v1.8.0