1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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: 云南省卫生健康科技项目管理系统
---