Commit 17a1b3e1 authored by 张森's avatar 张森

iot feign调用服务名改为配置文件

parent 046a97fb
...@@ -14,8 +14,7 @@ import java.util.Map; ...@@ -14,8 +14,7 @@ import java.util.Map;
/** /**
* @author DELL * @author DELL
*/ */
//@FeignClient(name = "${iot.vehicle.track}", path = "iot", configuration = {FeignConfiguration.class}) @FeignClient(name = "${iot.vehicle.track}", path = "iot", configuration = {FeignConfiguration.class})
@FeignClient(name = "AMOS-API-IOT-ZS", path = "iot", configuration = { FeignConfiguration.class })
public interface IotFeign { public interface IotFeign {
@RequestMapping(value = "/v1/livedata/list", method = RequestMethod.GET, consumes = "application/json") @RequestMapping(value = "/v1/livedata/list", method = RequestMethod.GET, consumes = "application/json")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment