spring: web: resources: static-locations: classpath:/ thymeleaf: prefix: classpath:/template/ suffix: .html application: name: science-admin profiles: active: @profileActive@ http: encoding: force: true servlet: multipart: max-file-size: 50MB max-request-size: 50MB jackson: dateFormat: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 resources: static-locations: classpath:/META-INF/resources/,classpath:/resources/, classpath:/static/, classpath:/public/, file:D:/static server: port: 8095 connectionTimeout: 180000 tomcat: uri-encoding: UTF-8 #最大并发数 max-threads: 1000 #接受和处理的最大连接数 max-connections: 20000 #初始化时创建的线程数 min-SpareThreads: 20 acceptCount: 700 mybatis-plus: global-config: banner: false db-config: id-type: auto mapper-locations: classpath*:mapper/*.xml mybatis: custom-cache: flushInterval: 3600 # log logging: file: /home/data/logs/${spring.application.name}.log errorFile: /home/data/logs/${spring.application.name}_error.log fileMaxHistory: 30 fileMaxSize: 50MB pattern: console: '%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID} [%X{track_id}] ${spring.application.name}){magenta} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx' # doc swagger: enable: true title: 贵州省卫生健康科研项目管理系统 description: "补充说明详见wiki http://wiki.yiboshi.com/pages/viewpage.action?pageId=8454338" basePackage: com.yiboshi.science.rest.v1 globalHeader: true # 登录相关配置 verification: # 验证码 verification-code: # 验证码类型配置 查看 LoginProperties 类 code-type: spec # 登录图形验证码有效时间/分钟 expiration: 5 # 验证码高度 width: 111 # 验证码宽度 heigth: 36 # 内容长度 length: 4 # 字体名称,为空则使用默认字体 font-name: # 字体大小 font-size: 25 --- system: defaultCodeLength: 5 # 字体大小 贵州科研23 # 内蒙科研 24 systemId: 24 systemName: 云南省卫生健康科技项目管理系统 ---