2023年9月20日
摘要: From: https://blog.csdn.net/lianghecai52171314/article/details/127106664 方案一:给日期字段添加注解/** * 创建时间 *///返回时间类型@JsonFormat(pattern = GlobalConst.DATETIME_ 阅读全文
posted @ 2023-09-20 11:10 清清飞扬 阅读(535) 评论(0) 推荐(0)
摘要: From: https://www.cnblogs.com/Baker-Street/p/16156297.html 大家伙在日常开发中可能都遇到过,前端传递的时间字符串,后台如果用日期接收(Date或者jdk8的Local日期)接收,经mvc接收后就报错了,先解析原因: 1. get请求和post 阅读全文
posted @ 2023-09-20 11:08 清清飞扬 阅读(1135) 评论(0) 推荐(0)