<input type='date'>传到后台怎么接收

有两种方式

前言

image

第一种,在实体类字段添加注解 @DateTimeFormat

image

第二种,在application.yml添加配置

image

验证结果

image

posted @ 2021-07-30 09:27  卡卡罗特琪琪  阅读(381)  评论(0编辑  收藏  举报