springboot之Date格式化

问题场景: 在springboot应用中,@RestController层注解的json默认序列化中,日期格式默认为:2018-06-17T07:24:07.430+0000。 日常需求中,往往需要将日期转化为 修改方法: 方法一: 在apllication.properties加入下面配置 #时间
posted @ 2018-06-17 15:45  chendeming  阅读(24944)  评论(0编辑  收藏  举报