From 466ee3bc7c7bccf1e74ba46289900e24e6784d7b Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Wed, 17 Mar 2021 11:49:41 +0800
Subject: [PATCH] common模块: 添加常量枚举
---
screen-common/src/main/java/com/moral/constant/Constants.java | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 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..5c17ba4 100644
--- a/screen-common/src/main/java/com/moral/constant/Constants.java
+++ b/screen-common/src/main/java/com/moral/constant/Constants.java
@@ -15,6 +15,21 @@
*/
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
*/
@@ -24,6 +39,20 @@
*/
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;
}
--
Gitblit v1.8.0