package cn.lihu.jh.module.ecg.feign;
|
|
import cn.lihu.jh.module.ecg.config.FeignXmlConfiguration;
|
import cn.lihu.jh.module.ecg.feign.dto.AppointmentExternal;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.http.MediaType;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@FeignClient(name = "remote-fee-confirm-service", url = "${openfeign.server}",
|
configuration = FeignXmlConfiguration.class)
|
public interface FeeConfirmFeignService {
|
|
@PostMapping(value="/hai/HttpEntry/", produces = MediaType.APPLICATION_XML_VALUE/*, consumes = MediaType.APPLICATION_JSON_VALUE*/)
|
public HisFeeConfirmRespResult httpFeeApi( @RequestParam("service") String service,
|
@RequestParam("urid") String urid,
|
@RequestParam("pwd") String pwd,
|
@RequestBody HisFeeConfirmReqBody bodyVo);
|
}
|