refactor: 项目SQL和部署脚本目录调整,添加 jackson 序列化默认时区和格式

This commit is contained in:
hxr committed 2023-09-02 23:55:28 +08:00
1 parent b6fefb5c17
commit 09bfa1876d
6 files changed
+11 -1

No files matched your search

+5
View File
@@ -2,6 +2,11 @@ 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