mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	fix 修复 oss 预览开关未清理缓存导致延迟生效问题
This commit is contained in:
		@@ -154,6 +154,7 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
 | 
			
		||||
            }
 | 
			
		||||
            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