数据源1
datasource.no1.driver-class-name:com.mysql.cj.jdbc.Driver
datasource.no1.url=jdbc:mysql://192.168.20.230:33080/integrated_prevention?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf-8
datasource.no1.username=root
datasource.no1.password=Mysql@zcloud33080
#数据源2(默认没用，俩地址写一样即可)
datasource.no2.driver-class-name:com.mysql.cj.jdbc.Driver
datasource.no2.url=jdbc:mysql://192.168.20.230:33080/integrated_whb?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf-8
datasource.no2.username=root
datasource.no2.password=Mysql@zcloud33080
#数据源3(admin资源库)
datasource.no3.driver-class-name:com.mysql.cj.jdbc.Driver
datasource.no3.url=jdbc:mysql://192.168.20.230:33080/integrated_admin?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf-8
datasource.no3.username=root
datasource.no3.password=Mysql@zcloud33080
#druid连接池
spring.datasource.type:com.alibaba.druid.pool.DruidDataSource
#最大活跃数
spring.datasource.maxActive:20
#初始化数量
spring.datasource.initialSize:1
#最大连接等待超时时间
spring.datasource.maxWait:60000
#打开PSCache，并且指定每个连接PSCache的大小
spring.datasource.poolPreparedStatements:true
spring.datasource.maxPoolPreparedStatementPerConnectionSize:20
#通过connectionProperties属性来打开mergeSql功能；慢SQL记录
#connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
spring.datasource.minIdle:1
spring.datasource.timeBetweenEvictionRunsMillis:60000
spring.datasource.minEvictableIdleTimeMillis:300000
spring.datasource.validationQuery:select 1 from dual
spring.datasource.testWhileIdle:true
spring.datasource.testOnBorrow:false
spring.datasource.testOnReturn:false
#配置监控统计拦截的filters，去掉后监控界面sql将无法统计,'wall'用于防火墙
filters:stat, wall, log4j
#缓存配置文件位置
spring.cache.ehcache.cofnig=ehcache.xml
#配置这句话,控制台输出sql语句
logging.level.com.zcloud.mapper=debug
#上传文件大小限制
spring.servlet.multipart.max-file-size=500MB
spring.servlet.multipart.max-request-size=500MB
#activiti模型检测
spring.activiti.check-process-definitions=false
#字符
spring.http.encoding.charset=UTF-8
spring.http.encoding.force=true
spring.http.encoding.enabled=true
# 关闭springboot启动时的banner
spring.main.banner-mode=off
# 测试
customer.id=LAZ-20221129-3
customer.SECRET_KEY=a256e8575c3f4240b08f6350f13ce8e2
customer.url=https://api.qhdsafety.com/sync/
customer.domain=yth.qhdsafety.com
