From 48be227812a1df7a0154cb2287ba5efef08beedb Mon Sep 17 00:00:00 2001 From: xm Date: Wed, 3 Nov 2021 16:31:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=8E=B7=E5=8F=96=E6=96=B9=E5=BC=8F=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84bug=EF=BC=8C=E4=B8=A4=E4=B8=AA=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=B5=8C=E5=85=A5=E5=BC=80=E5=8F=91=E5=9F=BA=E6=9C=AC=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/manage/controller/methodForEmrMedical.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/power-admin/src/main/java/com/manage/controller/methodForEmrMedical.java b/power-admin/src/main/java/com/manage/controller/methodForEmrMedical.java index 970b095..ea5aec9 100644 --- a/power-admin/src/main/java/com/manage/controller/methodForEmrMedical.java +++ b/power-admin/src/main/java/com/manage/controller/methodForEmrMedical.java @@ -58,7 +58,10 @@ public class methodForEmrMedical { @Value("${EMRMEDICALRECORD_PORT}") private String port; - @Value("8081") + @Value("${EMRRECORD_IP}") + private String ip2; + + @Value("${EMRRECORD_PORT}") private String port2; @Value("${TOKEN_EXPIRE_TIME}") @@ -318,7 +321,7 @@ public class methodForEmrMedical { CacheManager.putCache(date, new Cache(date, user, TOKEN_EXPIRE_TIME)); if (!"".equals(token) && token != null) { //返回跳转url - result = "http://" + ip + ":" + port2 + "/emr_record/login?token=" + token + "&userName=" + userName; + result = "http://" + ip2 + ":" + port2 + "/emr_record/login?token=" + token + "&userName=" + userName; response.sendRedirect(result); } else { result = "获取登录token失败,请检查数据!!";