开发容易忘记的点

1、页面展示的时间格式为 2016-09-03T00:00:00.000+08:00,要进行转换

在实体类注入注解@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")即可

posted @ 2020-11-08 20:34  曾饺  阅读(53)  评论(0编辑  收藏  举报