first commit
This commit is contained in:
@ -2,19 +2,45 @@ server:
|
||||
port: 8080
|
||||
spring:
|
||||
main:
|
||||
allow-bean-definition-overriding: true #新创建的bean覆盖旧的bean
|
||||
#新创建的bean覆盖旧的bean
|
||||
allow-bean-definition-overriding: true
|
||||
application:
|
||||
name: qiaoba-boot
|
||||
profiles:
|
||||
active: dev
|
||||
servlet:
|
||||
multipart:
|
||||
enabled: true #开启文件上传
|
||||
max-file-size: 200MB #限制文件上传大小为10M
|
||||
max-request-size: 200MB #限制文件上传大小为10M
|
||||
#开启文件上传
|
||||
enabled: true
|
||||
#限制文件上传大小为 200M
|
||||
max-file-size: 200MB
|
||||
#限制文件上传大小为 200M
|
||||
max-request-size: 200MB
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
time-zone: GMT+8
|
||||
# redis 配置
|
||||
redis:
|
||||
# 地址
|
||||
host: 192.168.0.202
|
||||
# 端口,默认为6379
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
database: 0
|
||||
# 密码
|
||||
password:
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
lettuce:
|
||||
pool:
|
||||
# 连接池中的最小空闲连接
|
||||
min-idle: 0
|
||||
# 连接池中的最大空闲连接
|
||||
max-idle: 8
|
||||
# 连接池的最大数据库连接数
|
||||
max-active: 8
|
||||
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-wait: -1ms
|
||||
|
||||
qiaoba:
|
||||
auth:
|
||||
@ -63,9 +89,3 @@ knife4j:
|
||||
enable-footer-custom: true
|
||||
footer-custom-content: create by ailanyin
|
||||
|
||||
# mybatis-plus:
|
||||
# 对应的 XML 文件位置
|
||||
# mapperLocations: classpath*:mapper/**/*Mapper.xml
|
||||
# 实体扫描,多个package用逗号或者分号分隔
|
||||
# typeAliasesPackage: com.qiaoba.**.entity
|
||||
|
||||
|
Reference in New Issue
Block a user