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
| server:
| tomcat:
| uri-encoding: UTF-8
| max-connections: 1000
| threads:
| # tomcat最大线程数,默认为200
| max: 1000
| # Tomcat启动初始化的线程数,默认值25
| min-spare: 25
| port: 8082
| servlet:
| context-path: /
|
| spring:
| application:
| name: yssh
| # session
| session:
| timeout: PT20M # 20分钟
| profiles:
| active: prod
| include: scheduled,file
| # 设置上传文件大小
| servlet:
| multipart:
| enabled: true
| max-file-size: 204800MB
| max-request-size: 1048576MB
| # jackson
| jackson:
| time-zone: GMT+8
| date-format: yyyy-MM-dd HH:mm:ss
| locale: zh_CN
| thymeleaf:
| cache: false
| # 服务模块
| devtools:
| restart:
| # 热部署开关
| enabled: true
|
| mybatis-plus:
| type-aliases-package: com.yssh.entity
| config-location: classpath:mybatis.xml
| mapper-locations: classpath:mapper/**/*.xml
|
| # logging
| logging:
| level:
| com.yssh: info
| org.springframework: warn
| #config: classpath:logback-spring.xml
|
| knife4j:
| # 是否开启Swagger
| enabled: true
| # 请求前缀
| pathMapping:
| # 是否开启Knife4j增强模式,默认是 false
| enable: true
|
| socket:
| ip: 127.0.0.1
| port: 6666
|
| cmd:
| runPy: C:/Python310/py/runPy.bat
|
|