‘liusuyi’
2023-09-19 c9768346fc8bc1cc6326e06125deaf57ff423eaf
src/main/resources/application-dev.yml
@@ -9,13 +9,12 @@
      max-file-size: 30MB
      max-request-size: 30MB
  datasource:
      #  使用druid数据库连接池
    druid:
        #开启druid监控web
      #开启druid监控web
      stat-view-servlet:
        enabled: true
      driver-class-name: org.postgresql.Driver
      url: jdbc:postgresql://192.168.1.15:5432/ry-vue?stringtype=unspecified
      url: jdbc:postgresql://192.168.2.15:5432/ry-vue
      username: postgres
      password: postgres
      #最大连接数
@@ -36,23 +35,27 @@
      port: 40000
      enabled: true
    tcp:
      enabled: true
      enabled: false
  # mqtt配置
  mqtt:
    host: tcp://192.168.1.15:1883
    host: tcp://192.168.2.15:1883
    clientId: cc3
    username: admin
    password: xzx12345
    password: admin
    topic: tube
    timeout: 100
    keepalive: 60
    enabled: true
  # 盗电接口地址
  stealelec:
    enabled: false
    url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil
  # 三厂数字化地址
  digitization3:
    enabled: true
  # minio配置
  minio:
    endpoint: http://192.168.1.15:9001
    endpoint: http://192.168.2.15:9001
    accessKey: admin
    secretKey: xzx12345
# mybatis配置
@@ -62,9 +65,11 @@
# 日志等级配置
logging:
  level:
    hikSdk: debug
    hikSdk: info
    mqtt: info
    netty: info
    external: info
    camera: info
    tube: info
    digitization3: debug
    stealAlarm: info