mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-02 10:36:40 +00:00
fix 修复 oss 预览开关未清理缓存导致延迟生效问题
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user