refactor(time): 统一时间格式化为 yyyy-MM-dd HH:mm:ss
- 在多个实体类中添加 @JsonFormat 注解,统一 LocalDateTime 类型字段的时间格式 - 移除 JacksonConfig 中自定义的时间格式化配置,使用默认的 ISO 日期时间格式
This commit is contained in:
@@ -26,6 +26,8 @@ spring:
|
||||
write-dates-as-timestamps: false
|
||||
deserialization:
|
||||
fail-on-unknown-properties: false
|
||||
mapper:
|
||||
default-property-inclusion: non_null
|
||||
|
||||
# 连接池配置
|
||||
datasource:
|
||||
|
||||
Reference in New Issue
Block a user