Browse Source

更新市医保地址。

lighter 4 years ago
parent
commit
6b7f95bf77

+ 4 - 3
src/main/java/thyyxxk/webserver/utils/YbLinksUtil.java

@@ -33,12 +33,13 @@ public class YbLinksUtil {
         normalLinks.put("cssybMtInfo", environment.getProperty("CSSYB_MT_INFO"));
         normalLinks.put("cssybMtPreCal", environment.getProperty("CSSYB_MT_PRE_CAL"));
         final String uploadBase = environment.getProperty("UPLOAD_BASE");
+        final String cssybUploadBase = environment.getProperty("CSSYB_UPLOAD_BASE");
         normalLinks.put("mtBase", uploadBase);
 
         String[] cssybLinks = new String[3];
-        cssybLinks[0] = uploadBase + ":1100/upload/";
-        cssybLinks[1] = uploadBase + ":1200/upload/";
-        cssybLinks[2] = uploadBase + ":1300/upload/";
+        cssybLinks[0] = cssybUploadBase + ":1100/upload/";
+        cssybLinks[1] = cssybUploadBase + ":1200/upload/";
+        cssybLinks[2] = cssybUploadBase + ":1300/upload/";
         uploadLinks.put("cssyb", cssybLinks);
 
         String[] hnsybLinks = new String[3];

+ 5 - 0
src/main/resources/META-INF/additional-spring-configuration-metadata.json

@@ -59,6 +59,11 @@
       "name": "powersi-api-url",
       "type": "java.lang.String",
       "description": "创智中台api地址."
+    },
+    {
+      "name": "CSSYB_UPLOAD_BASE",
+      "type": "java.lang.String",
+      "description": "Description for CSSYB_UPLOAD_BASE."
     }
   ]
 }

+ 10 - 18
src/main/resources/application-prod.yml

@@ -47,24 +47,16 @@ logging:
   level:
     thyyxxk.webserver.dao: info
 
-UPLOAD_BASE:
-  http://172.16.32.163
-CSSYB_BASE:
-  http://172.16.32.163:1000/cssyb/
-HNSYB_BASE:
-  http://172.16.32.163:2000/hnsyb/
-XNHYB_BASE:
-  http://172.16.32.163:3000/xnhyb/
-HNSYB_MT_INFO:
-  http://172.16.32.163:2000/shengyb/mt/getPersonInfo
-CSSYB_READ_MZ_PATIENT:
-  http://172.16.32.163:1000/mzsyb/readPatient
-CSSYB_MT_INFO:
-  http://172.16.32.163:1000/mzsyb/queryApplyInfo
-CSSYB_MT_PRE_CAL:
-  http://172.16.32.163:1000/mzsyb/mzPreCalculate
-PROOFREAD:
-  http://172.16.32.163:1111/proofread/start
+UPLOAD_BASE: http://172.16.32.163
+CSSYB_UPLOAD_BASE: http://172.16.32.159
+CSSYB_BASE: http://172.16.32.159:1000/cssyb/
+HNSYB_BASE: http://172.16.32.163:2000/hnsyb/
+XNHYB_BASE: http://172.16.32.163:3000/xnhyb/
+HNSYB_MT_INFO: http://172.16.32.163:2000/shengyb/mt/getPersonInfo
+CSSYB_READ_MZ_PATIENT: http://172.16.32.163:1000/mzsyb/readPatient
+CSSYB_MT_INFO: http://172.16.32.163:1000/mzsyb/queryApplyInfo
+CSSYB_MT_PRE_CAL: http://172.16.32.163:1000/mzsyb/mzPreCalculate
+PROOFREAD: http://172.16.32.163:1111/proofread/start
 
 si-api-url: http://10.90.0.11:8081/isp/powercsb/1101
 hrg-api-url: http://webhis.thyy.cn:81/thmz/api/v1

+ 10 - 18
src/main/resources/application.yml

@@ -53,24 +53,16 @@ mybatis-plus:
   configuration:
     map-underscore-to-camel-case: true
 
-UPLOAD_BASE:
-  http://172.16.30.26
-CSSYB_BASE:
-  http://172.16.30.26:1000/cssyb/
-HNSYB_BASE:
-  http://172.16.30.26:2000/hnsyb/
-XNHYB_BASE:
-  http://172.16.30.26:3000/xnhyb/
-HNSYB_MT_INFO:
-  http://172.16.30.26:2000/shengyb/mt/getPersonInfo
-CSSYB_READ_MZ_PATIENT:
-  http://172.16.30.26:1000/mzsyb/readPatient
-CSSYB_MT_INFO:
-  http://172.16.30.26:1000/mzsyb/queryApplyInfo
-CSSYB_MT_PRE_CAL:
-  http://172.16.30.26:1000/mzsyb/mzPreCalculate
-PROOFREAD:
-  http://172.16.30.26:1111/proofread/start
+UPLOAD_BASE: http://172.16.30.26
+CSSYB_UPLOAD_BASE: http://172.16.32.159
+CSSYB_BASE: http://172.16.32.159:1000/cssyb/
+HNSYB_BASE: http://172.16.30.26:2000/hnsyb/
+XNHYB_BASE: http://172.16.30.26:3000/xnhyb/
+HNSYB_MT_INFO: http://172.16.30.26:2000/shengyb/mt/getPersonInfo
+CSSYB_READ_MZ_PATIENT: http://172.16.30.26:1000/mzsyb/readPatient
+CSSYB_MT_INFO: http://172.16.30.26:1000/mzsyb/queryApplyInfo
+CSSYB_MT_PRE_CAL: http://172.16.30.26:1000/mzsyb/mzPreCalculate
+PROOFREAD: http://172.16.30.26:1111/proofread/start
 
 si-api-url: http://10.90.0.11:8081/isp/powercsb/1101
 hrg-api-url: http://webhis.thyy.cn:81/thmz/api/v1