From cf8a7f8678200464d781108e1e9495ddf5b39219 Mon Sep 17 00:00:00 2001
From: 张政 <421335524@qq.com>
Date: Sat, 23 Jul 2022 16:29:52 +0800
Subject: [PATCH] 防止主键字段名与'row'或'ids'一致导致报错的问题。
---
ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java | 32 +-------------------------------
1 files changed, 1 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..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:";
-
+
/**
* 验证码有效期(分钟)
*/
@@ -123,16 +103,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