From d15e7183e308eb5615b163df6ec4860458e78aa7 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 30 十月 2024 15:24:41 +0800
Subject: [PATCH] 对接平台预约数据

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/RemoteDataService.java |    7 +++----
 1 files changed, 3 insertions(+), 4 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 3cebbfd..06aa67d 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
@@ -1,15 +1,14 @@
 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 = "http://127.0.0.1:8080")
+@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<Object> httpApi( @RequestParam("service") String service,
+    public RestApiResult<AppointmentExternal> httpApi( @RequestParam("service") String service,
                                           @RequestParam("urid") String urid,
                                           @RequestParam("pwd") String pwd,
                                           @RequestBody RestApiReqBodyVo bodyVo);

--
Gitblit v1.9.3