gongchunyi
10 天以前 e39bddf535c89c9a7fe5789c01a17f92d4e596e7
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;
    }
}