SYYTe/fast-server/src/main/resources/application.yml
2022-05-01 23:20:13 +08:00

49 lines
975 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
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