From 5b9f87937feb53890138dbcd3a94cd883997e950 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期四, 26 十二月 2024 16:32:44 +0800 Subject: [PATCH] 修改菜单报错bug --- iailab-module-infra/iailab-module-infra-api/src/main/java/com/iailab/module/infra/api/config/ConfigApi.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/iailab-module-infra/iailab-module-infra-api/src/main/java/com/iailab/module/infra/api/config/ConfigApi.java b/iailab-module-infra/iailab-module-infra-api/src/main/java/com/iailab/module/infra/api/config/ConfigApi.java index d1f4dd2..e386926 100644 --- a/iailab-module-infra/iailab-module-infra-api/src/main/java/com/iailab/module/infra/api/config/ConfigApi.java +++ b/iailab-module-infra/iailab-module-infra-api/src/main/java/com/iailab/module/infra/api/config/ConfigApi.java @@ -13,6 +13,11 @@ String PREFIX = ApiConstants.PREFIX + "/config"; + @Operation(summary = "Feign接口-查询配置参数") + @GetMapping("/api/feign/infra-config/{configCode}") + String queryConfigByCode(@PathVariable("configCode") String configCode); + + @GetMapping(PREFIX + "/get-value-by-key") @Operation(summary = "根据参数键查询参数值") CommonResult<String> getConfigValueByKey(@RequestParam("key") String key); -- Gitblit v1.9.3