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-prod.yml | 75 +++++++++++++++++++------------------ 1 files changed, 39 insertions(+), 36 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index b219f3f..6be39a7 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -1,4 +1,7 @@ -#鐢熶骇鐜 +# 寮�鍙戠幆澧� +server: + port: 8088 +# spring閰嶇疆 spring: servlet: multipart: @@ -6,15 +9,14 @@ max-file-size: 30MB max-request-size: 30MB datasource: - # 浣跨敤druid鏁版嵁搴撹繛鎺ユ睜 druid: - #寮�鍚痙ruid鐩戞帶web + #寮�鍚痙ruid鐩戞帶web stat-view-servlet: enabled: true driver-class-name: org.postgresql.Driver - url: jdbc:postgresql://112.98.126.2:35432/ry-vue?stringtype=unspecified + url: jdbc:postgresql://192.168.2.15:5432/ry-vue username: postgres - password: Yykj.2017 + password: postgres #鏈�澶ц繛鎺ユ暟 maxActive: 30 #鏈�灏忚繛鎺ユ暟 @@ -27,46 +29,47 @@ timeBetweenEvictionRunsMillis: 60000 #绌洪棽杩炴帴鏈�灏忕┖闂叉椂闂� minEvictableIdleTimeMillis: 300000 - # netty閰嶇疆 - netty: - udp: - port: 40000 - enabled: true - tcp: - enabled: true - # minio閰嶇疆 - minio: - endpoint: http://127.0.0.1:9001 - accessKey: admin - secretKey: xzx12345 - # mqtt閰嶇疆 - mqtt: - host: tcp://192.168.1.15:1883 - clientId: cc3 - username: admin - password: xzx12345 - topic: tube - timeout: 100 - keepalive: 60 +# netty閰嶇疆 +netty: + udp: + port: 40000 enabled: true - # 鐩楃數鎺ュ彛鍦板潃 - stealelec: - enabled: false - url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil + 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 +# 涓夊満鏁板瓧鍖� +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 -server: - port: 8088 +# 鏃ュ織绛夌骇閰嶇疆 logging: level: - hikSdk: debug + hikSdk: info mqtt: debug netty: info external: info camera: info - tube: info \ No newline at end of file + tube: info + digitization3: info + stealAlarm: info \ No newline at end of file -- Gitblit v1.9.3