Skip to content

Commit 1f33e7f

Browse files
committed
refactor: 配置 SpringMVC JSON 序列化时区为 GMT+8
1 parent aea7453 commit 1f33e7f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

simple-application/src/main/resources/application.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
spring:
22
application:
33
name: simple-admin
4+
jackson:
5+
date-format: yyyy-MM-dd HH:mm:ss
6+
time-zone: GMT+8
47

58
# 端口
69
server:

0 commit comments

Comments
 (0)