是否可见写反了

Signed-off-by: kinlon92 <zhangjinlong1211@126.com>
This commit is contained in:
kinlon92 2023-01-03 07:36:15 +00:00 committed by Gitee
parent 6f8384af70
commit 29ac759c51
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());