From 7eee3b9f02f7bd394e1d88faff41ee840e5d863b Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 14 Nov 2022 11:17:04 +0800
Subject: [PATCH] 升级druid到最新版本1.2.14
---
ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java | 37 ++++++-------------------------------
1 files changed, 6 insertions(+), 31 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 6deff23..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:";
-
+
/**
* 验证码有效期(分钟)
*/
@@ -123,16 +108,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:";
/**
* 资源映射路径 前缀
--
Gitblit v1.9.2