Newer
Older
br-data-forwarding / src / main / resources / application.yml
##########################################################
##################  所有profile共有的配置  #################
##########################################################
spring:
  profiles:
    active: dev
  servlet:
    multipart:
      max-file-size: 50MB
      max-request-size: 80MB
mybatis-plus:
  global-config:
    enable-sql-runner: true
  configuration:
    # 配置结果集属性为空时 是否映射返回结果
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #打印sql语句,调试用
  mapper-locations: classpath:mapper/**/*.xml,classpath:com/casic/dao/mapper/**/*.xml
#mybatis:
#  mapper-locations: classpath:mapper/*.xml
#mybatis-plus:
#    sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
casic:
  device:
    gas-dector:
      type: 101
      minutes: 60
      enable-local: false
  host: 127.0.0.1
  port: 11320

  aep:
    time-url: https://ag-api.ctwing.cn/echo
    base-url: https://ag-api.ctwing.cn

  push:
    url: http://111.198.10.15:11643/device/receiveData

# type 可燃气体的设备类型
# minutes: 燃气外协设备上传数据的分钟数