From e54ce4959bca1fdeda01701989f8debd9467d4bd Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期五, 03 一月 2025 10:08:20 +0800 Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat --- 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