eight
2024-11-22 dea35289149c88a91677e5d27ea42aac8c902d07
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/RemoteDataService.java
@@ -1,16 +1,25 @@
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.*;
import javax.annotation.Resource;
@FeignClient(name = "remote-data-service", url = "${jinhua.url}")
@FeignClient(name = "remote-data-service", url = "${openfeign.server}")
public interface RemoteDataService {
    @PostMapping(value="/hai/HttpEntry/", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)
    public RestApiResult<Object> httpApi( @RequestParam("service") String service,
    @PostMapping(value="/hai/HttpEntry/", produces = MediaType.APPLICATION_JSON_VALUE/*, consumes = MediaType.APPLICATION_JSON_VALUE*/)
    public RestApiResult<AppointmentExternal> httpApi( @RequestParam("service") String service,
                                          @RequestParam("urid") String urid,
                                          @RequestParam("pwd") String pwd,
                                          @RequestBody RestApiReqBodyVo bodyVo);
/*
    @PostMapping(value="/hai/HttpEntry/", produces = MediaType.APPLICATION_XML_VALUE*/
/*, consumes = MediaType.APPLICATION_JSON_VALUE*//*
)
    public String httpFeeApi( @RequestParam("service") String service,
                                          @RequestParam("urid") String urid,
                                          @RequestParam("pwd") String pwd,
                                          @RequestBody HisFeeConfirmReqBody bodyVo);
*/
}