spring boot 写法
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date time;
spring mvc 写法
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date orderReturnTime;
spring boot 写法
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date time;
spring mvc 写法
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date orderReturnTime;