实体类接收Date类型 需要加两个注解 @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")