From 95dcae1a85615e42fc9cb8d30f46f376977f8936 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 03 十一月 2021 14:46:12 +0800 Subject: [PATCH] remove 移除 quartz 相关代码与依赖 --- ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java | 22 ++++++---------------- 1 files changed, 6 insertions(+), 16 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..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,18 +133,4 @@ */ public static final String SYS_DICT_KEY = "sys_dict:"; - /** - * 璧勬簮鏄犲皠璺緞 鍓嶇紑 - */ - public static final String RESOURCE_PREFIX = "/profile"; - - /** - * RMI 杩滅▼鏂规硶璋冪敤 - */ - public static final String LOOKUP_RMI = "rmi://"; - - /** - * 璧勬簮鏄犲皠璺緞 鍓嶇紑 - */ - public static final String REDIS_LOCK_KEY = "redis_lock:"; } -- Gitblit v1.9.3