fix: 修复 StackOverflowError 错误
- 添加 Jackson 序列化配置 - 禁用空 bean 序列化失败 - 配置不序列化 null 值 - 优化日期序列化格式 修复问题: - 解决 Handler dispatch failed 错误 - 避免循环引用导致的栈溢出
This commit is contained in:
@@ -15,7 +15,13 @@ spring:
|
||||
max-lifetime: 1800000
|
||||
connection-timeout: 30000
|
||||
connection-test-query: SELECT 1
|
||||
|
||||
jackson:
|
||||
serialization:
|
||||
write-dates-as-timestamps: false
|
||||
fail-on-empty-beans: false
|
||||
deserialization:
|
||||
fail-on-unknown-properties: false
|
||||
default-property-inclusion: non_null
|
||||
|
||||
#mybatis-plus
|
||||
mybatis-plus:
|
||||
|
||||
Reference in New Issue
Block a user