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
| # Tomcat
| server:
| tomcat:
| uri-encoding: UTF-8
| threads:
| max: 1000
| min-spare: 30
| port: 8002
| servlet:
| context-path: /xiaozhi
| session:
| cookie:
| http-only: true
|
| spring:
| # 环境 dev|test|prod
| profiles:
| active: dev
| messages:
| encoding: UTF-8
| basename: i18n/messages
| servlet:
| multipart:
| max-file-size: 100MB
| max-request-size: 100MB
| enabled: true
| main:
| allow-bean-definition-overriding: true
|
| knife4j:
| enable: true
| basic:
| enable: false
| username: admin
| password: admin
| setting:
| enableFooter: false
|
| renren:
| redis:
| open: true
| xss:
| enabled: true
| exclude-urls:
|
| #mybatis
| mybatis-plus:
| mapper-locations: classpath*:/mapper/**/*.xml
| #实体扫描,多个package用逗号或者分号分隔
| typeAliasesPackage: xiaozhi.modules.*.entity
| global-config:
| #数据库相关配置
| db-config:
| #主键类型
| id-type: ASSIGN_ID
| banner: false
| #原生配置
| configuration:
| map-underscore-to-camel-case: true
| cache-enabled: false
| call-setters-on-nulls: true
| jdbc-type-for-null: 'null'
| configuration-properties:
| prefix:
| blobType: BLOB
| boolValue: TRUE
|
|