liusheng
2024-08-28 bedd0a1cef215538df64470df6b8d4a022189136
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