mirror of
https://github.com/yangzongzhuan/RuoYi-Cloud.git
synced 2025-09-04 20:00:44 +00:00
优化代码
This commit is contained in:
@@ -37,8 +37,7 @@ public class DictUtils
|
||||
Object cacheObj = SpringUtils.getBean(RedisService.class).getCacheObject(getCacheKey(key));
|
||||
if (StringUtils.isNotNull(cacheObj))
|
||||
{
|
||||
List<SysDictData> dictDatas = StringUtils.cast(cacheObj);
|
||||
return dictDatas;
|
||||
return StringUtils.cast(cacheObj);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user