|
|
@ -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<String> selectStreamType(@RequestParam String deviceSn); |
|
|
|
|
|
|
|
@GetMapping(value = "/config/configKey/{configKey}") |
|
|
|
public R<String> getConfigKey(@PathVariable String configKey); |
|
|
|
} |
|
|
|