增加 swagger、druid、skywalking、admin 的自定义路径

This commit is contained in:
YunaiV
2023-04-07 23:25:43 +08:00
committed by &wxr
parent 99f92310e2
commit 00a2818c01
7 changed files with 62 additions and 181 deletions

View File

@@ -73,7 +73,7 @@ public class ConfigController {
public CommonResult<String> getConfigKey(@RequestParam("key") String key) {
ConfigDO config = configService.getConfigByKey(key);
if (config == null) {
return null;
return success(null);
}
if (!config.getVisible()) {
throw exception(ErrorCodeConstants.CONFIG_GET_VALUE_ERROR_IF_VISIBLE);