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

Merge pull request !350 from kinlon92/master
This commit is contained in:
芋道源码 2023-01-04 14:29:37 +00:00 committed by Gitee
commit 3dbe8cd279
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -75,7 +75,7 @@ public class ConfigController {
if (config == null) {
return null;
}
if (config.getVisible()) {
if (!config.getVisible()) {
throw ServiceExceptionUtil.exception(ErrorCodeConstants.CONFIG_GET_VALUE_ERROR_IF_VISIBLE);
}
return success(config.getValue());