提交 9af01c98 authored 作者: YunaiV's avatar YunaiV

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

上级 682efbe3
...@@ -75,7 +75,7 @@ public class ConfigController { ...@@ -75,7 +75,7 @@ public class ConfigController {
if (config == null) { if (config == null) {
return null; return null;
} }
if (config.getVisible()) { if (!config.getVisible()) {
throw ServiceExceptionUtil.exception(ErrorCodeConstants.CONFIG_GET_VALUE_ERROR_IF_VISIBLE); throw ServiceExceptionUtil.exception(ErrorCodeConstants.CONFIG_GET_VALUE_ERROR_IF_VISIBLE);
} }
return success(config.getValue()); return success(config.getValue());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论