mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-03 02:56:09 +00:00
fix 修复 oss 预览开关未清理缓存导致延迟生效问题
This commit is contained in:
@@ -152,6 +152,7 @@ public class SysConfigServiceImpl implements ISysConfigService {
|
|||||||
}
|
}
|
||||||
row = baseMapper.updateById(config);
|
row = baseMapper.updateById(config);
|
||||||
} else {
|
} else {
|
||||||
|
CacheUtils.evict(CacheNames.SYS_CONFIG, config.getConfigKey());
|
||||||
row = baseMapper.update(config, new LambdaQueryWrapper<SysConfig>()
|
row = baseMapper.update(config, new LambdaQueryWrapper<SysConfig>()
|
||||||
.eq(SysConfig::getConfigKey, config.getConfigKey()));
|
.eq(SysConfig::getConfigKey, config.getConfigKey()));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user