From fe98fba5b51ae4f1ef62cbdbd9b6a8ec20e8e623 Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期二, 12 七月 2022 18:01:56 +0800 Subject: [PATCH] !527 调增数组格式声明,random随机转换修正 Merge pull request !527 from 靖少毅/jsy20220705 --- ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java | 46 +++++++++++++--------------------------------- 1 files changed, 13 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..2dbdbe6 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 @@ -58,27 +58,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 +105,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 +120,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