Browse Source

[feat]增加无人机feign中新增根据参数键名查询参数值(参数配置)

pull/7/head
杨威 2 weeks ago
parent
commit
9a2856643c
  1. 4
      dk-modules/sample/src/main/java/org/dromara/sample/feign/RemoteSystemFeign.java

4
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.dromara.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping; 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.PostMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
@ -13,4 +14,7 @@ public interface RemoteSystemFeign {
@GetMapping("/config/selectStreamType") @GetMapping("/config/selectStreamType")
public List<String> selectStreamType(@RequestParam String deviceSn); public List<String> selectStreamType(@RequestParam String deviceSn);
@GetMapping(value = "/config/configKey/{configKey}")
public R<String> getConfigKey(@PathVariable String configKey);
} }

Loading…
Cancel
Save