controller接收前台数据时,时间类型错误解决办法

在实体类当中加注解,前台时间是什么格式,实体类就写啥格式就可以了

@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")

猜你喜欢

转载自blog.csdn.net/kxj19980524/article/details/84790449
今日推荐