Newer
Older
huludao / src / main / resources / application.yml
# Tomcat
server:
  compression:
    enabled: true
    mime-types: application/json,application/xml
  tomcat:
    uri-encoding: UTF-8
    max-threads: 1000
    min-spare-threads: 30
    basedir: /base/temp
  display-name: huludao_main

spring:
  application:
    name: huludao_main
  # 环境 dev|test|pro
  profiles:
    active: dev
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.mysql.jdbc.Driver
  # jackson时间格式化
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 100MB
      enabled: true
# Mybatis配置
mybatis-plus:
  mapper-locations: classpath:mapper/**/*.xml
  typeAliasesPackage: com.newfiber.api.pc.model
  global-config:
    #主键类型  0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
    id-type: 2
    #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
    field-strategy: 1
    #驼峰下划线转换
    db-column-underline: true
    #刷新mapper 调试神器
    refresh-mapper: true
    #数据库大写下划线转换
    #capital-mode: true
    #序列接口实现类配置
    #key-generator: com.onedt.springboot.xxx
    #逻辑删除配置
    logic-delete-value: 1
    logic-not-delete-value: 0
    #自定义SQL注入器
    sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
    #自定义填充策略接口实现
    #meta-object-handler: com.newfiber.api.core.utils.MyMetaObjectHandler
  configuration:
    map-underscore-to-camel-case: true
    cache-enabled: false
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#logging:
#  level:
#    com:
#      newfiber:
#        api:
#          pc:
#            controller: error


aliyun:
  ip:
    templateId: TTS_207150772


camera:
  appSecret: 1e67794fac494ad0a62fff1d512d59
  appid: lc7ebfa5a86bf74760

rain:
  level:
    one: 25
    tow: 35
    three: 60

# 高德API的key
gaode:
  key: 7ba8c92ef5b9a9221b715ccfdd9627c1

xfyw:
  url: http://192.168.100.18:8862
  #url: https://www.xy-zhsw.cn:10000/tempTranspond

wx:
  pushUrl: http://127.0.0.1:8118

xinyang:
  river: http://192.168.20.109:12002