@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

默认时区和北京时区相差八个小时,所以用timezone解决;

 

相关文章: