RuoYi
2021-10-25 8a7dcf8a80583eb5710a336c89be63541c3054f0
ruoyi-common/src/main/java/com/ruoyi/common/utils/DictUtils.java
@@ -152,6 +152,16 @@
    }
    /**
     * 删除指定字典缓存
     *
     * @param key 字典键
     */
    public static void removeDictCache(String key)
    {
        SpringUtils.getBean(RedisCache.class).deleteObject(getCacheKey(key));
    }
    /**
     * 清空字典缓存
     */
    public static void clearDictCache()