|
@@ -14,8 +14,26 @@ spring:
|
|
|
profiles:
|
|
|
active: @profiles.active@
|
|
|
mvc:
|
|
|
+ format:
|
|
|
+ date-time: yyyy-MM-dd HH:mm:ss
|
|
|
servlet:
|
|
|
load-on-startup: 1
|
|
|
+ jackson:
|
|
|
+ time-zone: GMT+8
|
|
|
+ date-format: yyyy-MM-dd HH:mm:ss
|
|
|
+ serialization:
|
|
|
+ indent-output: false
|
|
|
+ fail-on-empty-beans: false
|
|
|
+ write-dates-as-timestamps: false
|
|
|
+ deserialization:
|
|
|
+ fail-on-unknown-properties: false
|
|
|
+ servlet:
|
|
|
+ multipart:
|
|
|
+ max-file-size: 100MB
|
|
|
+ max-request-size: 1000MB
|
|
|
+ threads:
|
|
|
+ virtual:
|
|
|
+ enabled: true
|
|
|
|
|
|
# 开发环境配置
|
|
|
server:
|
|
@@ -26,7 +44,6 @@ server:
|
|
|
context-path: /
|
|
|
|
|
|
# MyBatisFlex公共配置
|
|
|
-# https://mybatis-flex.com/zh/base/configuration.html
|
|
|
mybatis-flex:
|
|
|
# 搜索指定包别名
|
|
|
type-aliases-package: org.eco.vip.**.domain.**
|
|
@@ -35,11 +52,9 @@ mybatis-flex:
|
|
|
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
|
mapper-locations: classpath*:mapper/**/*Mapper.xml
|
|
|
configuration:
|
|
|
- ## 以下为mybatis原生配置 https://mybatis.org/mybatis-3/zh/configuration.html
|
|
|
# 自动驼峰命名规则(camel case)映射
|
|
|
map_underscore_to_camel_case: true
|
|
|
# MyBatis 自动映射策略
|
|
|
- # NONE:不启用 PARTIAL:只对非嵌套 resultMap 自动映射 FULL:对所有 resultMap 自动映射
|
|
|
auto_mapping_behavior: FULL
|
|
|
# MyBatis 自动映射时未知列或未知属性处理策
|
|
|
# NONE:不做处理 WARNING:打印相关警告 FAILING:抛出异常和详细信息
|