处理时间格式不一致,时间相差8小时
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user