From 9a2856643c28494f7cef1e48690c1721e881eba4 Mon Sep 17 00:00:00 2001 From: yangwei <867012372@qq.com> Date: Tue, 10 Jun 2025 10:27:15 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E5=A2=9E=E5=8A=A0=E6=97=A0=E4=BA=BA?= =?UTF-8?q?=E6=9C=BAfeign=E4=B8=AD=E6=96=B0=E5=A2=9E=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=94=AE=E5=90=8D=E6=9F=A5=E8=AF=A2=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=80=BC=EF=BC=88=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/dromara/sample/feign/RemoteSystemFeign.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dk-modules/sample/src/main/java/org/dromara/sample/feign/RemoteSystemFeign.java b/dk-modules/sample/src/main/java/org/dromara/sample/feign/RemoteSystemFeign.java index 2192f4a..8b4798f 100644 --- a/dk-modules/sample/src/main/java/org/dromara/sample/feign/RemoteSystemFeign.java +++ b/dk-modules/sample/src/main/java/org/dromara/sample/feign/RemoteSystemFeign.java @@ -3,6 +3,7 @@ package org.dromara.sample.feign; import org.dromara.common.core.domain.R; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; @@ -13,4 +14,7 @@ public interface RemoteSystemFeign { @GetMapping("/config/selectStreamType") public List selectStreamType(@RequestParam String deviceSn); + + @GetMapping(value = "/config/configKey/{configKey}") + public R getConfigKey(@PathVariable String configKey); }