![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springmvc
zhuhaoyu6666
热爱编程、热爱生活、喜欢挑战
展开
-
springmvc的前端提交日期到后台接收的几种处理方式总结
其实是springmvc的一个问题,springmvc对于日期的参数封装是有要求的,如果你的日期是2019-05-30,后端使用Date createTIme遍历接收,springmvc默认会报错,有几种解决方案1)改前端,前端提交的日期格式变为2019/05/302)也是改前端,$scope.device.installTime=new Date(formdata.installT...原创 2020-01-25 17:41:32 · 2361 阅读 · 1 评论 -
WebMvcConfigurer 详解
下载地址:https://download.csdn.net/download/zhuhaoyu6666/12066064package org.springframework.web.servlet.config.annotation;import java.util.List;import org.springframework.format.FormatterRegistry;...原创 2019-12-30 17:11:26 · 5900 阅读 · 1 评论