From 9bc730866f583847c33a944aa20d7ea5e3c0c7ac Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期二, 30 十一月 2021 11:15:33 +0800 Subject: [PATCH] 🎉 RuoYi-Vue3(Vue3 Element Plus Vite)版本 --- ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java index 2387533..3246b77 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java @@ -210,6 +210,18 @@ } /** + * 鍒犻櫎Hash涓殑鏁版嵁 + * + * @param key + * @param mapkey + */ + public void delCacheMapValue(final String key, final String hkey) + { + HashOperations hashOperations = redisTemplate.opsForHash(); + hashOperations.delete(key, hkey); + } + + /** * 鑾峰彇澶氫釜Hash涓殑鏁版嵁 * * @param key Redis閿� -- Gitblit v1.9.3