lipc 5 年 前
コミット
0dc4d40d46

+ 2 - 2
algorithm/src/main/resources/algorithm.properties

@@ -1,8 +1,8 @@
 ################################ model basic url ###################################
 
 #basicPath=E:/git/push/algorithm/src/main/models/model_version_replacement/model
-#basicPath=/home/lantone/models/model_version_replacement/model
-basicPath=D:/work/project/models/model_version_replacement/model
+basicPath=/home/lantone/models/model_version_replacement/model
+#basicPath=D:/work/project/models/model_version_replacement/model
 
 ############################### current model version ################################
 diagnosisPredict.version=outpatient_556_IOE_1

+ 1 - 1
common-push/src/main/java/org/diagbot/common/push/cache/CacheFileManager.java

@@ -24,7 +24,7 @@ public class CacheFileManager {
 
     private String user = "root";
     private String password = "langtong";
-    private String url = "jdbc:mysql://192.1.3.116:3306/med?useUnicode=true&characterEncoding=UTF-8";
+    private String url = "jdbc:mysql://127.0.0.1:3306/med?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8";
 
     private String path = "";
 

+ 3 - 3
graph-web/src/main/resources/url.properties

@@ -1,5 +1,5 @@
-highrisk.http.url=http://192.1.3.116:5004/knowledge/getHighRisk
-lisPacs.http.url=http://192.1.3.116:5004/knowledge/getLisPacs
-disease.http.url=http://192.1.3.116:5004/knowledge/getDisease
+highrisk.http.url=http://192.10.11.46:5004/knowledge/getHighRisk
+lisPacs.http.url=http://192.10.11.46:5004/knowledge/getLisPacs
+disease.http.url=http://192.10.11.46:5004/knowledge/getDisease
 #lisPacs.http.url=http://192.168.3.9:5004/knowledge/getLisPacs
 #highrisk.http.url=http://192.168.3.9:5004/knowledge/getHighRisk

+ 1 - 1
graph/src/main/java/org/diagbot/graph/Diagnose/DiagnoseProcess.java

@@ -19,7 +19,7 @@ public class DiagnoseProcess {
         String query = "";
         StatementResult run =null;
         //获取driver和session
-        Driver driver = DriverManager.newDrive("192.1.3.116","neo4j","root");
+        Driver driver = DriverManager.newDrive("192.10.11.46","neo4j","root");
         Session session = driver.session(AccessMode.READ);
         //第一步查询是否有组合的词
         query = propertiesUtil.getProperty("searchCollection").replace("fildList",startList.toString());

+ 3 - 3
graph/src/main/resources/bolt.properties

@@ -1,17 +1,17 @@
 #235Mysql\u6570\u636E\u5E93
-url_235 = jdbc:mysql://192.1.3.116:3306/scale?useUnicode=true&characterEncoding=UTF-8
+url_235 = jdbc:mysql://127.0.0.1:3306/scale?useUnicode=true&characterEncoding=UTF-8
 userNmae_235 = root
 pass_235 = langtong
 
 # neo4j bolt credentials
 #\u7EBF\u4E0A\u4F7F\u7528
-bolt.uri=bolt://192.1.3.116
+bolt.uri=bolt://127.0.0.1
 bolt.user=neo4j
 bolt.passwd=root
 
 
 #\u6D4B\u8BD5\u4F7F\u7528
-bolt112.uri=bolt://192.1.3.116
+bolt112.uri=bolt://127.0.0.1
 bolt112.user=neo4j
 bolt112.passwd=123456
 

+ 2 - 2
graphdb/src/main/resources/application.yml

@@ -6,14 +6,14 @@ spring:
     active: local
   data:
     neo4j:
-      uri: bolt://192.1.3.116:7687
+      uri: bolt://127.0.0.1:7687
       username: neo4j
       password: root
 
 # 驱动配置信息
   datasource:
     driver-class-name: org.neo4j.jdbc.Driver
-    url: jdbc:neo4j:http://192.1.3.116:7474
+    url: jdbc:neo4j:http://127.0.0.1:7474
     username: neo4j
     password: root
     #定义初始连接数

+ 2 - 2
nlp/src/main/resources/nlp.properties

@@ -1,3 +1,3 @@
 #Êý¾ÝÎļþ´æ·Å·¾¶
-#cache.file.dir=/opt/diagbot-push/cache_file/
-cache.file.dir=D:/work/bigdata/diagbot-push/cache_file/
+cache.file.dir=/opt/diagbot-push/cache_file/
+#cache.file.dir=D:/work/bigdata/diagbot-push/cache_file/

+ 3 - 3
push-web/src/main/resources/static/dist/js/push.js

@@ -1,6 +1,6 @@
-var nlp_web_url = "http://192.1.3.116:5002/nlp-web";
-var bigdata_web_url = "http://192.1.3.116:5001/bigdata-web";
-var graph_web_url = "http://192.1.3.116:5003/graph-web";
+var nlp_web_url = "http://192.10.11.46:5002/nlp-web";
+var bigdata_web_url = "http://192.10.11.46:5001/bigdata-web";
+var graph_web_url = "http://192.10.11.46:5003/graph-web";
 // var push_web_url = "http://192.168.2.234:5008/push-web";
 
 // var nlp_web_url = "http://192.168.3.180:5002/nlp-web";