chore: 时区和日期格式由 WebMvcConfig 统一管理,移除了当前代码中的重复配置以简化维护

This commit is contained in:
Ray.Hao
2025-02-06 13:49:54 +08:00
parent abfbae6f49
commit 8caf20a455
2 changed files with 0 additions and 10 deletions

View File

@@ -2,11 +2,6 @@ server:
port: 8989
spring:
jackson:
## 默认序列化时间格式
date-format: yyyy-MM-dd HH:mm:ss
## 默认序列化时区
time-zone: GMT+8
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver