package cn.lihu.jh.module.ecg.feign; 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.*; @FeignClient(name = "remote-data-service", url = "${jinhua.url}") public interface RemoteDataService { @PostMapping(value="/hai/HttpEntry/", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE) public RestApiResult httpApi( @RequestParam("service") String service, @RequestParam("urid") String urid, @RequestParam("pwd") String pwd, @RequestBody RestApiReqBodyVo bodyVo); }