From 9c368e8e68f769ee76a968033f9806787b7d857c Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 28 十一月 2022 13:57:30 +0800 Subject: [PATCH] update springboot 2.7.5 => 2.7.6 update lock4j 2.2.2 => 2.2.3 update s3-adk 1.12.324 => 1.12.349 --- ruoyi-common/src/main/java/com/ruoyi/common/utils/redis/RedisUtils.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/redis/RedisUtils.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/redis/RedisUtils.java index c14b393..80f5f52 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/redis/RedisUtils.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/redis/RedisUtils.java @@ -328,6 +328,17 @@ } /** + * 鑾峰緱缂撳瓨Map鐨刱ey鍒楄〃 + * + * @param key 缂撳瓨鐨勯敭鍊� + * @return key鍒楄〃 + */ + public static <T> Set<String> getCacheMapKeySet(final String key) { + RMap<String, T> rMap = CLIENT.getMap(key); + return rMap.keySet(); + } + + /** * 寰�Hash涓瓨鍏ユ暟鎹� * * @param key Redis閿� -- Gitblit v1.9.3