Json格式化时间

@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
posted @ 2018-11-05 17:07  huanghaunghui  阅读(208)  评论(0)    收藏  举报