parent
d8b4a33404
commit
7e5c29cc4d
@ -0,0 +1,19 @@
|
||||
package com.taxi.apipassenger.remote;
|
||||
|
||||
import com.internal.dto.ResponseResult;
|
||||
import com.internal.request.ForecastPriceDTO;
|
||||
import com.internal.response.ForecastPriceResponse;
|
||||
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-price")
|
||||
public interface ServicePriceClient {
|
||||
|
||||
|
||||
@RequestMapping(method = RequestMethod.POST,value = "/forecast-price")
|
||||
ResponseResult<ForecastPriceResponse> forecast(@RequestBody ForecastPriceDTO forecastPriceDTO);
|
||||
|
||||
}
|
Loading…
Reference in new issue