!350 配置管理,配置是否可见判断写反了
This commit is contained in:
parent
682efbe3c3
commit
9af01c9842
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user