Commit 799c6ca4 authored by 唐峰's avatar 唐峰

创建时间更新时间去掉GMT+8

parent dc3469fc
......@@ -25,11 +25,11 @@ public abstract class BaseEntity implements Serializable {
private Long id;
@Column(name = "created_at")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
private LocalDateTime createdAt;
@Column(name = "updated_at")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
private LocalDateTime updatedAt;
@PrePersist
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment