parent
a96fb4e518
commit
8658e53565
@ -0,0 +1,18 @@
|
||||
package com.mashibing.apipassenger.remote;
|
||||
|
||||
import com.mashibing.internalcommon.dto.ResponseResult;
|
||||
import com.mashibing.internalcommon.request.ForecastPriceDTO;
|
||||
import com.mashibing.internalcommon.response.ForecastPriceResponse;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@Service
|
||||
@FeignClient("service-price")
|
||||
public interface ServicePriceClient {
|
||||
|
||||
@PostMapping("/forecast-price")
|
||||
public ResponseResult<ForecastPriceResponse> forecastPrice(@RequestBody ForecastPriceDTO forecastPriceDTO);
|
||||
|
||||
}
|
Loading…
Reference in new issue