From 66f5f11069bf4a6c0c406ec851b7e2241e760d2b Mon Sep 17 00:00:00 2001
From: YangHuang <hy@YangHuangdeMacBook-Pro.local>
Date: Fri, 11 Mar 2022 10:04:26 +0800
Subject: [PATCH] 登录信息状态枚举值更正
---
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
index 82e48a6..038c221 100644
--- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
+++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
@@ -53,6 +53,16 @@
public static final Integer FAIL = 500;
/**
+ * 登录成功状态
+ */
+ public static final String LOGIN_SUCCESS_STATUS = "0";
+
+ /**
+ * 登录失败状态
+ */
+ public static final String LOGIN_FAIL_STATUS = "1";
+
+ /**
* 登录成功
*/
public static final String LOGIN_SUCCESS = "Success";
@@ -127,5 +137,5 @@
* 定时任务违规的字符
*/
public static final String[] JOB_ERROR_STR = { "java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml",
- "org.springframework", "org.apache" };
+ "org.springframework", "org.apache", "com.ruoyi.common.core.utils.file" };
}
--
Gitblit v1.9.3