疯狂的狮子li
2021-11-17 1c8d44b3094b0f0bae18abeb5fffc8b59c50f9b7
ruoyi-common/src/main/java/com/ruoyi/common/utils/DictUtils.java
@@ -36,9 +36,8 @@
     * @return dictDatas 字典数据列表
     */
    public static List<SysDictData> getDictCache(String key) {
        Object cacheObj = RedisUtils.getCacheObject(getCacheKey(key));
        if (StringUtils.isNotNull(cacheObj)) {
            List<SysDictData> dictDatas = (List<SysDictData>) cacheObj;
        List<SysDictData> dictDatas = RedisUtils.getCacheObject(getCacheKey(key));
        if (StringUtils.isNotNull(dictDatas)) {
            return dictDatas;
        }
        return null;