mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-09 05:36:41 +08:00
Merge remote-tracking branch 'origin/2.0.0-alpha' into 2.0.0-alpha
This commit is contained in:
commit
fb76aa55b2
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user