Newer
Older
smartwell_demos / src / main / resources / config / application.yml
##########################################################
spring:
  profiles:
    active: dz
  servlet:
    multipart:
      max-file-size: 50MB
      max-request-size: 80MB
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
server:
  port: 11307
mybatis-plus:
  global-config:
    enable-sql-runner: true
    #  configuration:
    # 配置结果集属性为空时 是否映射返回结果
  #   log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #打印sql语句,调试用
  mapper-locations: classpath:mapper/*.xml
mybatis:
  mapper-locations: classpath:mapper/*.xml
#mybatis-plus:
#    sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
###################  mybatis-plus配置  ###################
###################  casic配置  ###################
flowable:
  checkProcessDefinitions: false #不校验process文件
casic:
  device:
    redis:
      invalid-time: 86400
      host: 10.80.0.171
      port: 6379
      password:
      config-prefix: 'Casic:' #下发配置,key前缀
    apn: "dashoa.sc.iot" # 平台对应的apn
    appName: "XLJCYJ"  #应用名称-泄露监测预警
    appUrl: "http://10.80.12.33"  #普光服务的url
    online:
      cron: 0 0 0/1 * * ? # 多长时间判断离线
    data-day:  1 #多少天为离线
    type: 14  #硫化氢
  sms:
    url: http://10.75.240.177/send
    name: zhangb9987
    token: 4D0E6A690C1845E0A8DF76D8C9C5E6B2
    system-name: "采气厂硫化氢泄漏监测系统"

swagger:
  enable: true
  groupName: "采气厂硫化氢泄漏监测系统"