fix 修复 oss 预览开关未清理缓存导致延迟生效问题
parent
cdc43dcf31
commit
b5cff7c458
|
|
@ -152,6 +152,7 @@ public class SysConfigServiceImpl implements ISysConfigService {
|
|||
}
|
||||
row = baseMapper.updateById(config);
|
||||
} else {
|
||||
CacheUtils.evict(CacheNames.SYS_CONFIG, config.getConfigKey());
|
||||
row = baseMapper.update(config, new LambdaQueryWrapper<SysConfig>()
|
||||
.eq(SysConfig::getConfigKey, config.getConfigKey()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue