From 16d6e11e944b8eaac8e52dc9327278784e006670 Mon Sep 17 00:00:00 2001 From: sxq <812980466@qq.com> Date: 星期二, 26 十月 2021 15:12:58 +0800 Subject: [PATCH] 1:升级springboot版本到2.5.6。 2:升级hutool版本到5.7.15。 --- ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 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 5f8964e..6d83fe3 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 @@ -7,8 +7,7 @@ * * @author ruoyi */ -public class Constants -{ +public class Constants { /** * UTF-8 瀛楃闆� */ @@ -75,6 +74,11 @@ public static final String REPEAT_SUBMIT_KEY = "repeat_submit:"; /** + * 闄愭祦 redis key + */ + public static final String RATE_LIMIT_KEY = "rate_limit:"; + + /** * 楠岃瘉鐮佹湁鏁堟湡锛堝垎閽燂級 */ public static final Integer CAPTCHA_EXPIRATION = 2; @@ -130,17 +134,12 @@ public static final String SYS_DICT_KEY = "sys_dict:"; /** - * 璧勬簮鏄犲皠璺緞 鍓嶇紑 + * RMI 杩滅▼鏂规硶璋冪敤 */ - public static final String RESOURCE_PREFIX = "/profile"; + public static final String LOOKUP_RMI = "rmi://"; - /** - * RMI 杩滅▼鏂规硶璋冪敤 - */ - public static final String LOOKUP_RMI = "rmi://"; - - /** - * 璧勬簮鏄犲皠璺緞 鍓嶇紑 - */ - public static final String REDIS_LOCK_KEY = "redis_lock:"; + /** + * LDAP 杩滅▼鏂规硶璋冪敤 + */ + public static final String LOOKUP_LDAP = "ldap://"; } -- Gitblit v1.9.3