‘liusuyi’
2023-10-07 bda682cfed723ca3be4ff39ab1972b8a69197bfb
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
      #最大连接数
@@ -39,32 +38,39 @@
      enabled: true
  # mqtt配置
  mqtt:
    host: tcp://192.168.1.15:1883
    clientId: cc3
    host: tcp://192.168.2.15:1883
    clientId: c227
    username: admin
    password: xzx12345
    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.1.15:9001
    endpoint: http://192.168.2.15:9001
    accessKey: admin
    secretKey: xzx12345
# mybatis配置
mybatis:
  typeAliasesPackage: com.ard.alarm.**.domain
  mapperLocations: classpath:/mapper/*.xml
# mybatis-plus配置
mybatis-plus:
  type-aliases-package: com.ard.alarm.**.domain
  mapper-locations: classpath:/mapper/*.xml
# 日志等级配置
logging:
  level:
    hikSdk: debug
    hikSdk: info
    mqtt: info
    netty: info
    external: info
    camera: info
    tube: info
    digitization3: info
    stealAlarm: info
    httpUtils: info