##tokentoken: X-JUDGE-SERVER-TOKEN: ##线程池配置# 异步线程配置async: executor: thread: # 配置核心线程数 core_pool_size: 5 # 配置最大线程数 max_pool_size: 5 # 配置队列大小 queue_capacity: 99999 name: # 配置线程池中的线程的名称前缀 prefix: async-service-##server: port: 8080##spring: #数据源配置 datasource: username: root password: url: jdbc:mysql://localhost:3306/nongchatea?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC driver-class-name: com.mysql.cj.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource #druid 配置 druid: initialSize: 5 minIdle: 5 maxActive: 20 maxWait: 60000 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: SELECT 1 FROM DUAL testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true #自动设置json返回格式 jackson: #日期格式化 date-format: yyyy-MM-dd time-zone: GMT+8 #设置空如何序列化 #default-property-inclusion: non_null serialization: #格式化输出 indent_output: true #忽略无法转换的对象 fail_on_empty_beans: false deserialization: #允许对象忽略json中不存在的属性 fail_on_unknown_properties: false parser: #允许出现特殊字符和转义符 allow_unquoted_control_chars: true #允许出现单引号 allow_single_quotes: true #文件上传限制 servlet: multipart: max-request-size: 100MB max-file-size: 50MB##mybatis设置mybatis: mapper-locations: classpath:mapping/*Mapper.xml type-aliases-package: com.example.springbootmybatis.pojo configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl map-underscore-to-camel-case: true##pagehelper设置pagehelper: helperDialect: mysql #分页合理化 reasonable: true #支持mapper接口 supportMethodsArguments: true params: count=countSql