处理时间格式不一致,时间相差8小时

This commit is contained in:
朱耘稷
2021-01-19 12:46:20 +08:00
committed by xuwenbo
parent 001178e6b6
commit 957ab2274d

View File

@ -32,8 +32,6 @@ public class YxStoreOrderStatusDto implements Serializable {
/** 操作时间 */ /** 操作时间 */
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@JsonFormat( @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
pattern = "yyyy-MM-dd HH:mm:ss"
)
private Date changeTime; private Date changeTime;
} }