From e781f88eca04c5e8d005c341f37b71aa1a255f07 Mon Sep 17 00:00:00 2001
From: 也曾为你、像超人 <1553592282@qq.com>
Date: 星期一, 19 九月 2022 14:30:47 +0800
Subject: [PATCH] 优化日志操作中重置按钮时重复查询的问题
---
ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java | 51 ++++++++++++++++++---------------------------------
1 files changed, 18 insertions(+), 33 deletions(-)
diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java b/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
index 926c8fc..87fa40f 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
@@ -20,6 +20,11 @@
public static final String GBK = "GBK";
/**
+ * www涓诲煙
+ */
+ public static final String WWW = "www.";
+
+ /**
* http璇锋眰
*/
public static final String HTTP = "http://";
@@ -58,27 +63,7 @@
* 鐧诲綍澶辫触
*/
public static final String LOGIN_FAIL = "Error";
-
- /**
- * 楠岃瘉鐮� redis key
- */
- public static final String CAPTCHA_CODE_KEY = "captcha_codes:";
-
- /**
- * 鐧诲綍鐢ㄦ埛 redis key
- */
- public static final String LOGIN_TOKEN_KEY = "login_tokens:";
-
- /**
- * 闃查噸鎻愪氦 redis key
- */
- public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";
-
- /**
- * 闄愭祦 redis key
- */
- public static final String RATE_LIMIT_KEY = "rate_limit:";
-
+
/**
* 楠岃瘉鐮佹湁鏁堟湡锛堝垎閽燂級
*/
@@ -125,16 +110,6 @@
public static final String JWT_AUTHORITIES = "authorities";
/**
- * 鍙傛暟绠$悊 cache key
- */
- public static final String SYS_CONFIG_KEY = "sys_config:";
-
- /**
- * 瀛楀吀绠$悊 cache key
- */
- public static final String SYS_DICT_KEY = "sys_dict:";
-
- /**
* 璧勬簮鏄犲皠璺緞 鍓嶇紑
*/
public static final String RESOURCE_PREFIX = "/profile";
@@ -150,8 +125,18 @@
public static final String LOOKUP_LDAP = "ldap:";
/**
+ * LDAPS 杩滅▼鏂规硶璋冪敤
+ */
+ public static final String LOOKUP_LDAPS = "ldaps:";
+
+ /**
+ * 瀹氭椂浠诲姟鐧藉悕鍗曢厤缃紙浠呭厑璁歌闂殑鍖呭悕锛屽鍏朵粬闇�瑕佸彲浠ヨ嚜琛屾坊鍔狅級
+ */
+ public static final String[] JOB_WHITELIST_STR = { "com.ruoyi" };
+
+ /**
* 瀹氭椂浠诲姟杩濊鐨勫瓧绗�
*/
public static final String[] JOB_ERROR_STR = { "java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml",
- "org.springframework" };
-}
\ No newline at end of file
+ "org.springframework", "org.apache", "com.ruoyi.common.utils.file" };
+}
--
Gitblit v1.9.3