Commit 3dbe8cd279000056032cf1eb78edda77f11ac224

Authored by 芋道源码
Committed by Gitee
2 parents ce0f327c 29ac759c

!350 配置管理,配置是否可见判断写反了

Merge pull request !350 from kinlon92/master
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/ConfigController.java
... ... @@ -75,7 +75,7 @@ public class ConfigController {
75 75 if (config == null) {
76 76 return null;
77 77 }
78   - if (config.getVisible()) {
  78 + if (!config.getVisible()) {
79 79 throw ServiceExceptionUtil.exception(ErrorCodeConstants.CONFIG_GET_VALUE_ERROR_IF_VISIBLE);
80 80 }
81 81 return success(config.getValue());
... ...