Merge remote-tracking branch 'origin/2.0.0-alpha' into 2.0.0-alpha

This commit is contained in:
yandanyang 2021-09-23 20:27:05 +08:00
commit fb76aa55b2

View File

@ -104,6 +104,8 @@ public class SystemConfigService {
SystemConfigEntity entity = this.CONFIG_CACHE.get(configKey);
Assert.notNull(entity, "缺少系统配置[" + configKey + "]");
Assert.isTrue(!entity.getDisabledFlag(), "系统配置[" + configKey + "]已被禁用");
return SmartBeanUtil.copy(entity, SystemConfigDTO.class);
}