修改时间时区

This commit is contained in:
wanjia 2025-10-16 19:48:36 +08:00
parent dbd61f7de5
commit 2d48e70187
3 changed files with 5 additions and 5 deletions

View File

@ -21,11 +21,11 @@ public class EmailJob {
private String content;
@JsonProperty("created_at")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdAt;
@JsonProperty("dispatched_at")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date dispatchedAt;
private Integer dispatchedStatus;

View File

@ -17,11 +17,11 @@ public class EmailSendRecord {
private Integer jobId;
@JsonProperty("created_at")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdAt;
@JsonProperty("sent_at")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date sentAt;
private Integer status;

View File

@ -22,7 +22,7 @@ public class SysNotification {
private String notificationUrl;
@JsonProperty("created_at")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdAt;
private Integer status;