liuqq 6 سال پیش
والد
کامیت
fff8eb4bb9

+ 1 - 0
.gitignore

@@ -24,3 +24,4 @@
 /nbdist/
 /.nb-gradle/
 /bin/
+/logs/

+ 2 - 2
config-server/src/main/resources/shared/diagbotman-service-local.yml

@@ -8,9 +8,9 @@ spring:
       driverClassName: com.mysql.jdbc.Driver
       driver-class-name: com.mysql.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://192.168.2.236:3306/sys-diagbotman?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
+      url: jdbc:mysql://192.168.2.239:3306/sys-diagbotman?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
       username: root
-      password: lantone
+      password: langtong
       # 连接池的配置信息
       # 初始化大小,最小,最大
       initialSize: 5

+ 75 - 6
config-server/src/main/resources/shared/gateway-service-local.yml

@@ -28,20 +28,54 @@ spring:
     gateway:
       default-filters:
       routes:
-      - id: tran-service
-        uri: lb://tran-service
+      - id: user-service
+        uri: lb://user-service
         predicates:
-        - Path=/api/tran/**
+        - Path=/api/user/**
         filters:
         - SwaggerHeaderFilter
         - StripPrefix=2
-      - id: icss-service
-        uri: lb://icss-service
+      - id: logger-service
+        uri: lb://logger-service
         predicates:
-        - Path=/api/icss/**
+        - Path=/api/log/**
+        filters:
+        - SwaggerHeaderFilter
+        - StripPrefix=2
+      - id: bi-service
+        uri: lb://bi-service
+        predicates:
+        - Path=/api/bi/**
+        filters:
+        - SwaggerHeaderFilter
+        - StripPrefix=2
+      - id: diagbotman-service
+        uri: lb://diagbotman-service
+        predicates:
+        - Path=/api/diagbotman/**
         filters:
         - SwaggerHeaderFilter
         - StripPrefix=2
+      - id: feedback-service
+        uri: lb://feedback-service
+        predicates:
+        - Path=/api/feedback/**
+        filters:
+        - SwaggerHeaderFilter
+        - StripPrefix=2
+      - id: knowledge-service
+        uri: lb://knowledge-service
+        predicates:
+        - Path=/api/knowledge/**
+        filters:
+        - SwaggerHeaderFilter
+        - StripPrefix=2
+      - id: icssold
+        uri: http://192.168.2.165:8080
+        predicates:
+        - Path=/api/icssold/**
+        filters:
+        - StripPrefix=2
       - id: triage-service
         uri: lb://triage-service
         predicates:
@@ -49,6 +83,41 @@ spring:
         filters:
         - SwaggerHeaderFilter
         - StripPrefix=2
+      - id: icss-service
+        uri: lb://icss-service
+        predicates:
+        - Path=/api/icss/**
+        filters:
+        - SwaggerHeaderFilter
+        - StripPrefix=2
+      - id: icssman-service
+        uri: lb://icssman-service
+        predicates:
+        - Path=/api/icssman/**
+        filters:
+        - SwaggerHeaderFilter
+        - StripPrefix=2
+      - id: knowledgeman-service
+        uri: lb://knowledgeman-service
+        predicates:
+        - Path=/api/knowledgeman/**
+        filters:
+        - SwaggerHeaderFilter
+        - StripPrefix=2
+      - id: tran-service
+        uri: lb://tran-service
+        predicates:
+        - Path=/api/tran/**
+        filters:
+        - SwaggerHeaderFilter
+        - StripPrefix=2
+      - id: aipt-service
+        uri: lb://aipt-service
+        predicates:
+        - Path=/api/aipt/**
+        filters:
+        - SwaggerHeaderFilter
+        - StripPrefix=2
 
 server:
   port: 5050

+ 2 - 2
config-server/src/main/resources/shared/icss-service-local.yml

@@ -8,9 +8,9 @@ spring:
       driverClassName: com.mysql.jdbc.Driver
       driver-class-name: com.mysql.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://192.168.2.236:3306/sys-icss?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
+      url: jdbc:mysql://192.168.2.239:3306/sys-icss?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
       username: root
-      password: lantone
+      password: langtong
       # 连接池的配置信息
       # 初始化大小,最小,最大
       initialSize: 5

+ 2 - 2
config-server/src/main/resources/shared/icssman-service-local.yml

@@ -8,9 +8,9 @@ spring:
       driverClassName: com.mysql.jdbc.Driver
       driver-class-name: com.mysql.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://192.168.2.236:3306/sys-icssman?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
+      url: jdbc:mysql://192.168.2.239:3306/sys-icssman?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
       username: root
-      password: lantone
+      password: langtong
       # 连接池的配置信息
       # 初始化大小,最小,最大
       initialSize: 5

+ 4 - 4
config-server/src/main/resources/shared/tran-service-local.yml

@@ -8,7 +8,7 @@ spring:
       driverClassName: com.mysql.jdbc.Driver
       driver-class-name: com.mysql.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://127.0.0.1:3306/sys-tran?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
+      url: jdbc:mysql://192.168.2.239:3306/sys-tran?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
       username: root
       password: langtong
       # 连接池的配置信息
@@ -91,12 +91,12 @@ mybatis-plus:
   configuration:
     map-underscore-to-camel-case: true
     cache-enabled: false
-    
+
 ai:
   server:
     address: http://192.168.4.177:5050
-    
+          
 bigdata:
   server:
-    address: http://192.168.2.226:5008
+    address: http://192.168.4.177:5008
 

+ 3 - 3
config-server/src/main/resources/shared/triage-service-local.yml

@@ -8,9 +8,9 @@ spring:
       driverClassName: com.mysql.jdbc.Driver
       driver-class-name: com.mysql.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://192.168.2.236:3306/sys-triage?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
+      url: jdbc:mysql://192.168.2.239:3306/sys-triage?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
       username: root
-      password: lantone
+      password: langtong
       # 连接池的配置信息
       # 初始化大小,最小,最大
       initialSize: 5
@@ -93,4 +93,4 @@ mybatis-plus:
     cache-enabled: false
 ai:
   server:
-    address: http://192.168.2.234:8080
+    address: http://192.168.2.226:2000

+ 2 - 2
config-server/src/main/resources/shared/uaa-service-local.yml

@@ -5,9 +5,9 @@ spring:
       driverClassName: com.mysql.jdbc.Driver
       driver-class-name: com.mysql.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://192.168.2.236:3306/sys-user?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
+      url: jdbc:mysql://192.168.2.239:3306/sys-user?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
       username: root
-      password: lantone
+      password: langtong
       # 连接池的配置信息
       # 初始化大小,最小,最大
       initialSize: 5

+ 2 - 2
config-server/src/main/resources/shared/user-service-local.yml

@@ -8,9 +8,9 @@ spring:
       driverClassName: com.mysql.jdbc.Driver
       driver-class-name: com.mysql.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://192.168.2.236:3306/sys-user?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
+      url: jdbc:mysql://192.168.2.239:3306/sys-user?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
       username: root
-      password: lantone
+      password: langtong
       # 连接池的配置信息
       # 初始化大小,最小,最大
       initialSize: 5

+ 1 - 0
tran-service/src/main/java/com/diagbot/web/remote/facade/PushFacade.java

@@ -26,6 +26,7 @@ public class PushFacade {
 	private BigDataServiceClient bigDataServiceClient;
 	
 	public Response<ResponseData> pushApp(SearchData searchData){
+		searchData.setFeatureType("1,3,4,5,6,7,8");
 		Response<ResponseData> responseData=bigDataServiceClient.bayesPageData(searchData);
 		return responseData;
 	}