From 1c8d44b3094b0f0bae18abeb5fffc8b59c50f9b7 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 17 十一月 2021 10:45:32 +0800 Subject: [PATCH] update 监控中心 集成监控客户端 实现自监控 --- ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 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 0ae1d32..9c91a1a 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; @@ -129,13 +133,4 @@ */ public static final String SYS_DICT_KEY = "sys_dict:"; - /** - * RMI 杩滅▼鏂规硶璋冪敤 - */ - public static final String LOOKUP_RMI = "rmi://"; - - /** - * 璧勬簮鏄犲皠璺緞 鍓嶇紑 - */ - public static final String REDIS_LOCK_KEY = "redis_lock:"; } -- Gitblit v1.9.3