🐛 修复更改系统设置时, 误清理缓存的 BUG

This commit is contained in:
zhaojun1998
2020-01-24 18:37:32 +08:00
parent 14bb5e15e3
commit aef34facbd

View File

@@ -58,7 +58,6 @@ public class AdminController {
@PostMapping("/config")
public ResultBean updateConfig(SystemConfigDTO systemConfigDTO) throws Exception {
AbstractFileService currentFileService = systemConfigService.getCurrentFileService();
currentFileService.clearFileCache();
systemConfigDTO.setId(1);
systemConfigService.updateSystemConfig(systemConfigDTO);