parent
09214dcaa6
commit
cfbb91076d
@ -0,0 +1,17 @@
|
||||
package com.taxi.serviceprice.remote;
|
||||
|
||||
import com.internal.dto.ResponseResult;
|
||||
import com.internal.request.ForecastPriceDTO;
|
||||
import com.internal.response.DirectionResponse;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
@FeignClient("service-map")
|
||||
public interface ServiceMapClient {
|
||||
|
||||
@RequestMapping(method = RequestMethod.GET,value = "/direction/driving")
|
||||
ResponseResult<DirectionResponse> direction(@RequestBody ForecastPriceDTO forecastPriceDTO);
|
||||
|
||||
}
|
Loading…
Reference in new issue