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

This commit is contained in:
YunaiV 2023-01-04 22:29:32 +08:00
parent 682efbe3c3
commit 9af01c9842

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());