From 74868ba9e0775ccc21d02ef9e0f805bd1e6ae0aa Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 21 十一月 2024 18:15:33 +0800 Subject: [PATCH] 确费逻辑 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/RemoteDataService.java | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/RemoteDataService.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/RemoteDataService.java index 06aa67d..17a0ca1 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/RemoteDataService.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/RemoteDataService.java @@ -5,11 +5,17 @@ import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; -@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) + @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 HisFeeConfirmRespResult httpFeeApi( @RequestParam("service") String service, + @RequestParam("urid") String urid, + @RequestParam("pwd") String pwd, + @RequestBody HisFeeConfirmReqBody bodyVo); } -- Gitblit v1.9.3