提交 cad96749 authored 作者: aiqingguo's avatar aiqingguo

承运同步

上级 85058374
......@@ -75,7 +75,7 @@ public class TempController {
}
@ApiOperation(value = "承运同步网络货运 (临时接口)", notes = "<br>By:胡宁宁")
@ApiOperation(value = "承运同步网络货运 (临时接口)", notes = "<br>By:艾庆国")
@RequestMapping(value = "/orderChildSync", method = RequestMethod.GET)
public Result<Void> orderChildSync() {
ThirdOrderChildBrokerParam param = new ThirdOrderChildBrokerParam();
......
......@@ -7,14 +7,13 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@FeignClient(name = "transport-service-yitu")
@RequestMapping(value = "/transport-service/feign/order")
@FeignClient(name = "transport-service-yitu", url = "${transport-service.host}")
public interface TransportFeignService {
/**
* 运单同步
*/
@RequestMapping(value = "/orderChildSync", method = RequestMethod.POST)
Result<Integer> orderChildSync(@RequestBody ThirdOrderChildBrokerParam param);
@RequestMapping(value = "/transport-service/feign/order/orderChildSync", method = RequestMethod.POST)
Result orderChildSync(@RequestBody ThirdOrderChildBrokerParam param);
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论