From 745d5b90be7d8cdb8873b18d18b286fdc4b6913b Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期二, 05 十二月 2023 10:13:57 +0800
Subject: [PATCH] 配置文件全部更改为配置类 优化包路径

---
 src/main/resources/application-dev.yml |  151 +++++++++++++++++++++++++-------------------------
 1 files changed, 75 insertions(+), 76 deletions(-)

diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 3d06baa..ac119ec 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -1,76 +1,75 @@
-# 寮�鍙戠幆澧�
-server:
-  port: 8088
-# spring閰嶇疆
-spring:
-  servlet:
-    multipart:
-      enabled: true
-      max-file-size: 30MB
-      max-request-size: 30MB
-  datasource:
-    druid:
-      #寮�鍚痙ruid鐩戞帶web
-      stat-view-servlet:
-        enabled: true
-      driver-class-name: org.postgresql.Driver
-      url: jdbc:postgresql://192.168.2.15:5432/ry-vue
-      username: postgres
-      password: postgres
-      #鏈�澶ц繛鎺ユ暟
-      maxActive: 30
-      #鏈�灏忚繛鎺ユ暟
-      minIdle: 5
-      #鑾峰彇杩炴帴鐨勬渶澶х瓑寰呮椂闂�
-      maxWait: 10000
-      #瑙e喅mysql8灏忔椂鐨勯棶棰�
-      validation-query: SELECT 'X'
-      #绌洪棽杩炴帴鐨勬鏌ユ椂闂撮棿闅�
-      timeBetweenEvictionRunsMillis: 60000
-      #绌洪棽杩炴帴鏈�灏忕┖闂叉椂闂�
-      minEvictableIdleTimeMillis: 300000
-  # netty閰嶇疆
-  netty:
-    udp:
-      port: 40000
-      enabled: true
-    tcp:
-      enabled: true
-  # mqtt閰嶇疆
-  mqtt:
-    host: tcp://192.168.2.15:1883
-    clientId: c227
-    username: admin
-    password: admin
-    topic: tube
-    timeout: 100
-    keepalive: 60
-    enabled: true
-  # 鐩楃數鎺ュ彛鍦板潃
-  stealelec:
-    enabled: true
-    url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil
-  # 涓夊巶鏁板瓧鍖栧湴鍧�
-  digitization3:
-    enabled: true
-  # minio閰嶇疆
-  minio:
-    endpoint: http://192.168.2.15:9001
-    accessKey: admin
-    secretKey: xzx12345
-# mybatis-plus閰嶇疆
-mybatis-plus:
-  type-aliases-package: com.ard.alarm.**.domain
-  mapper-locations: classpath:/mapper/*.xml
-# 鏃ュ織绛夌骇閰嶇疆
-logging:
-  level:
-    hikSdk: info
-    mqtt: info
-    netty: info
-    external: info
-    camera: info
-    tube: info
-    digitization3: info
-    stealAlarm: info
-    httpUtils: info
+# 寮�鍙戠幆澧�
+server:
+  port: 8088
+# spring閰嶇疆
+spring:
+  servlet:
+    multipart:
+      enabled: true
+      max-file-size: 30MB
+      max-request-size: 30MB
+  datasource:
+    druid:
+      #寮�鍚痙ruid鐩戞帶web
+      stat-view-servlet:
+        enabled: true
+      driver-class-name: org.postgresql.Driver
+      url: jdbc:postgresql://192.168.2.15:5432/ry-vue
+      username: postgres
+      password: postgres
+      #鏈�澶ц繛鎺ユ暟
+      maxActive: 30
+      #鏈�灏忚繛鎺ユ暟
+      minIdle: 5
+      #鑾峰彇杩炴帴鐨勬渶澶х瓑寰呮椂闂�
+      maxWait: 10000
+      #瑙e喅mysql8灏忔椂鐨勯棶棰�
+      validation-query: SELECT 'X'
+      #绌洪棽杩炴帴鐨勬鏌ユ椂闂撮棿闅�
+      timeBetweenEvictionRunsMillis: 60000
+      #绌洪棽杩炴帴鏈�灏忕┖闂叉椂闂�
+      minEvictableIdleTimeMillis: 300000
+# netty閰嶇疆
+netty:
+  udp:
+    port: 40000
+    enabled: false
+  tcp:
+    enabled: true
+# mqtt閰嶇疆
+mqtt:
+  host: tcp://192.168.2.15:1883
+  clientId: client-2272
+  username: admin
+  password: admin
+  timeout: 100
+  keepalive: 60
+  enabled: true
+# 鐩楃數鎺ュ彛鍦板潃
+stealelec:
+  enabled: false
+  url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil
+  # 涓夊巶鏁板瓧鍖栧湴鍧�
+# 涓夊満鏁板瓧鍖�
+digitization3:
+  enabled: false
+# minio閰嶇疆
+minio:
+  endpoint: http://192.168.2.15:9001
+  accessKey: admin
+  secretKey: xzx12345
+# mybatis-plus閰嶇疆
+mybatis-plus:
+  type-aliases-package: com.ard.alarm.**.domain
+  mapper-locations: classpath:/mapper/*.xml
+# 鏃ュ織绛夌骇閰嶇疆
+logging:
+  level:
+    hikSdk: info
+    mqtt: debug
+    netty: debug
+    external: info
+    camera: info
+    tube: info
+    digitization3: info
+    stealAlarm: info
\ No newline at end of file

--
Gitblit v1.9.3