From 6c76ad7d3c1e6b2a2cea4986f9bcb0f7215c3563 Mon Sep 17 00:00:00 2001
From: vince <757871790@qq.com>
Date: 星期二, 13 八月 2024 09:38:44 +0800
Subject: [PATCH] 优化测温协议

---
 src/main/resources/application-proGateway.yml |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/src/main/resources/application-proGateway.yml b/src/main/resources/application-proGateway.yml
index 7329ff8..55e75e4 100644
--- a/src/main/resources/application-proGateway.yml
+++ b/src/main/resources/application-proGateway.yml
@@ -1,23 +1,20 @@
-##########################  浠佸   ##########################
 server:
   port: 8090
-  jetty:
-    max-http-post-size: 209715200
-  tomcat:
-    max-http-post-size: 209715200
+
 spring:
   datasource:
     #涓绘暟鎹簮
     primary:
-      url: jdbc:mysql://127.0.0.1:3306/igds_api?useUnicode=true&characterEncoding=utf-8
+      url: jdbc:mysql://127.0.0.1:3306/igds_api?useUnicode=true&useSSL=false&characterEncoding=utf-8
       username: root
-      password: Fzzy@#$%5432..K
+      password: Abc123..
       driver-class-name: com.mysql.jdbc.Driver
     #娆℃暟鎹簮
     secondary:
-      url: jdbc:mysql://127.0.0.1:3306/igds_master?useUnicode=true&characterEncoding=utf-8
+      url: jdbc:mysql://127.0.0.1:3306/igdsv4?useUnicode=true&useSSL=false&characterEncoding=utf-8
+
       username: root
-      password: Fzzy@#$%5432..K
+      password: Abc123..
       driver-class-name: com.mysql.jdbc.Driver
   jpa:
     #涓籮pa閰嶇疆
@@ -38,10 +35,10 @@
           dialect: org.hibernate.dialect.MySQL5InnoDBDialect
   # Redis鐩稿叧閰嶇疆
   redis:
-    database: 1
+    database: 5
     host: 127.0.0.1
     port: 6379
-    password: Redispwd..
+    password:
     # 杩炴帴姹犳渶澶ц繛鎺ユ暟锛堜娇鐢ㄨ礋鍊艰〃绀烘病鏈夐檺鍒讹級
     pool:
       max-active: 200
@@ -51,6 +48,7 @@
       timeout: 6000
   kafka:
     bootstrap-servers: 103.203.217.16:9092
+    enabled: false
     producer:
       retries: 0
       acks: 1
@@ -71,7 +69,6 @@
       auto-offset-reset: latest
       key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
       value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
-
   mqtt:
     host: tcp://127.0.0.1:1883
     username: admin

--
Gitblit v1.9.3