spring:
|
# 环境 local|dev|test|prod
|
profiles:
|
active: prod
|
#文件上传设置
|
servlet:
|
multipart:
|
max-file-size: 100MB
|
max-request-size: 100MB
|
enabled: true
|
jackson:
|
date-format: yyyy-MM-dd HH:mm:ss
|
time-zone: America/New_York
|
mvc:
|
pathmatch:
|
matching-strategy: ANT_PATH_MATCHER
|
jpa:
|
properties:
|
hibernate:
|
jdbc:
|
time_zone: America/New_York
|
# mybaits-plus配置
|
mybatis-plus:
|
# MyBatis Mapper所对应的XML文件位置
|
mapper-locations:
|
- classpath*:/mapper/**/*Mapper.xml
|
- classpath*:/mapper/*Mapper.xml
|
global-config:
|
# 关闭MP3.0自带的banner
|
banner: false
|
db-config:
|
# 主键类型 0:数据库ID自增 1.未定义 2.用户输入 3 id_worker 4.uuid 5.id_worker字符串表示
|
id-type: AUTO
|
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
|
field-strategy: NOT_NULL
|
# 默认数据库表下划线命名
|
table-underline: true
|
oss:
|
aws:
|
s3:
|
bucketName: trading-order-test-zh
|