eight
2024-08-09 7230e10d48407832d3109f8560e354c357ed0856
openfeign url 可配置
已修改2个文件
6 ■■■■ 文件已修改
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/RemoteDataService.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-server/src/main/resources/application-local.yaml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/feign/RemoteDataService.java
@@ -6,7 +6,7 @@
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,
jh-server/src/main/resources/application-local.yaml
@@ -1,6 +1,10 @@
server:
  port: 48080
--- #################### 医院平台服务地址 ####################
jinhua:
  url: http://127.0.0.1:8080
--- #################### 数据库相关配置 ####################
spring:
  # 数据源配置项