gongchunyi
12 小时以前 241c256ff1ba033d2c1d4f958534956ee37cd57a
src/main/java/com/ruoyi/common/utils/DictUtils.java
@@ -222,7 +222,7 @@
     */
    public static void clearDictCache()
    {
        Collection<String> keys = SpringUtils.getBean(RedisCache.class).keys(CacheConstants.SYS_DICT_KEY + "*");
        Collection<String> keys = SpringUtils.getBean(RedisCache.class).keys(CacheConstants.PREFIX + CacheConstants.SYS_DICT_KEY + "*");
        SpringUtils.getBean(RedisCache.class).deleteObject(keys);
    }
@@ -234,6 +234,6 @@
     */
    public static String getCacheKey(String configKey)
    {
        return CacheConstants.SYS_DICT_KEY + configKey;
        return CacheConstants.PREFIX + CacheConstants.SYS_DICT_KEY + configKey;
    }
}