修改时间时区
This commit is contained in:
parent
dbd61f7de5
commit
2d48e70187
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue