springmvc用对象接受前台的date类型数据时的处理方案

在对象的类中,对应的属性上配置
@DateTimeFormat(pattern = "yyyy/MM/dd hh/mm/ss")

你可能感兴趣的:(springmvc用对象接受前台的date类型数据时的处理方案)