ruoyi-common/src/main/java/com/ruoyi/common/core/redis/RedisCache.java
@@ -19,7 +19,7 @@ * * @author ruoyi **/ @SuppressWarnings(value = {"unchecked", "rawtypes"}) @SuppressWarnings(value = {"unchecked" , "rawtypes"}) @Component public class RedisCache { @Autowired @@ -181,6 +181,15 @@ } /** * 获取所有key * * @return */ public Set<String> getAllKeys() { return redisTemplate.keys("*"); } /** * 获得缓存的Map * * @param key