标签:pat path prepare logback user zone 数据 映射 prope
spring: mail: host: smtp.qq.com username: 邮箱账号 password: 授权码 default-encoding: UTF-8 port: 465 mvc: hiddenmethod: filter: #开启MVC对 DELETE PUT 等方法的支持 enabled: true thymeleaf: cache: false datasource: password: 密码 username: 账号 url: jdbc:mysql://数据库地址:3306/attack?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&allowMultiQueries=true driver-class-name: com.mysql.jdbc.Driver #引入Druid数据源 type: com.alibaba.druid.pool.DruidDataSource # 数据源其他配置, DataSourceProperties中没有相关属性,默认无法绑定 initialSize: 8 minIdle: 5 maxActive: 20 maxWait: 60000 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: SELECT 1 FROM DUAL testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,‘wall‘用于防火墙 filters: stat,wall,logback maxPoolPreparedStatementPerConnectionSize: 25 useGlobalDataSourceStat: true connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500 mybatis: #对应接口映射配置文件 mapper-locations: classpath:mybatis/mapper/*.xml #核心配置 configuration: map-underscore-to-camel-case: true #日志文件 logging: level: cn.yangsansui.*: DEBUG server: port: 8090
标签:pat path prepare logback user zone 数据 映射 prope
原文地址:https://www.cnblogs.com/sansui/p/12495746.html