2022-04-22 15:26:39 +08:00
|
|
|
|
# Tomcat
|
|
|
|
|
server:
|
|
|
|
|
tomcat:
|
|
|
|
|
uri-encoding: UTF-8
|
|
|
|
|
threads:
|
|
|
|
|
max: 1000
|
|
|
|
|
min-spare: 30
|
|
|
|
|
port: 8080
|
|
|
|
|
servlet:
|
|
|
|
|
context-path: /
|
|
|
|
|
session:
|
|
|
|
|
cookie:
|
|
|
|
|
http-only: true
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
# 环境 dev|test|prod
|
|
|
|
|
profiles:
|
|
|
|
|
active: dev
|
|
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
max-file-size: 1024MB
|
|
|
|
|
max-request-size: 1024MB
|
|
|
|
|
|
2022-07-27 09:22:11 +08:00
|
|
|
|
storage:
|
|
|
|
|
enabled: true
|
|
|
|
|
config:
|
|
|
|
|
# 存储类型:local、aliyun
|
|
|
|
|
type: local
|
|
|
|
|
# 访问域名
|
|
|
|
|
domain: http://localhost:8080
|
|
|
|
|
# 配置访问前缀
|
|
|
|
|
prefix:
|
|
|
|
|
local:
|
|
|
|
|
# 本地上传路径
|
|
|
|
|
path: D://upload
|
2022-04-22 15:26:39 +08:00
|
|
|
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
mapper-locations: classpath*:/mapper/**/*.xml
|
|
|
|
|
# 实体扫描,多个package用逗号或者分号分隔
|
|
|
|
|
typeAliasesPackage: net.maku.*.entity
|
|
|
|
|
global-config:
|
|
|
|
|
# 数据库相关配置
|
|
|
|
|
db-config:
|
|
|
|
|
# ID自增
|
|
|
|
|
id-type: AUTO
|
|
|
|
|
# 逻辑已删除值
|
|
|
|
|
logic-delete-value: 1
|
|
|
|
|
# 逻辑未删除值
|
|
|
|
|
logic-not-delete-value: 0
|
|
|
|
|
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
|