疯狂的狮子Li
2021-06-25 b51b8b1b41d4a402028e00a15c17dd60c4c4ff06
ruoyi-common/src/main/java/com/ruoyi/common/utils/DictUtils.java
@@ -156,6 +156,16 @@
    }
    /**
     * 删除指定字典缓存
     *
     * @param key 字典键
     */
    public static void removeDictCache(String key)
    {
        SpringUtils.getBean(RedisCache.class).deleteObject(getCacheKey(key));
    }
    /**
     * 清空字典缓存
     */
    public static void clearDictCache()