摘要: springboot1.x时,请求返回默认将Date类型转换成时间戳: 升级到springboot2.0后,默认返回的时间格式变成了UTC字符串 解决办法: spring.jackson.serialization.write-dates-as-timestamps=true 追加以上配置 阅读全文
posted @ 2021-09-13 14:02 FY丶 阅读(316) 评论(0) 推荐(0)