Revert "缓存不会过期先去掉"

This reverts commit cd1ae32c09.
This commit is contained in:
于继存
2023-05-18 17:13:13 +08:00
parent cd1ae32c09
commit 5755d5c3a9

View File

@@ -37,7 +37,7 @@ public class SysDictionaryServiceImpl implements ISysDictionaryService{
RedisTemplate redisTemplate; RedisTemplate redisTemplate;
//缓存配置 //缓存配置
//@Cacheable(value = CacheName.DICT,key = "'" + CacheName.KEY_DICT + "'+#key", unless = "#result == null") @Cacheable(value = CacheName.DICT,key = "'" + CacheName.KEY_DICT + "'+#key", unless = "#result == null")
@Override @Override
public List<DictItem> findByKey(String key) { public List<DictItem> findByKey(String key) {
if ("org_domain".equals(key)) { if ("org_domain".equals(key)) {