From 64ce9daf8855edebf8c77b40095a4ea597331cd9 Mon Sep 17 00:00:00 2001 From: zlyx <1242874891@qq.com> Date: 星期二, 30 八月 2022 11:44:44 +0800 Subject: [PATCH] fix 修正 spring cache 获取在线用户失败问题, 回退为使用 redis 工具缓存 ; --- ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java index 5829a1e..7891496 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/sql/SqlUtil.java @@ -16,7 +16,7 @@ /** * 瀹氫箟甯哥敤鐨� sql鍏抽敭瀛� */ - public static String SQL_REGEX = "select |insert |delete |update |drop |count |exec |chr |mid |master |truncate |char |and |declare "; + public static final String SQL_REGEX = "select |insert |delete |update |drop |count |exec |chr |mid |master |truncate |char |and |declare "; /** * 浠呮敮鎸佸瓧姣嶃�佹暟瀛椼�佷笅鍒掔嚎銆佺┖鏍笺�侀�楀彿銆佸皬鏁扮偣锛堟敮鎸佸涓瓧娈垫帓搴忥級 -- Gitblit v1.9.3