时间日期处理 时间日期处理SpringBoot中接收日期格式处理SpringBoot中接收日期格式处理get请求,在实体类字段上添加@DateTimeFormat(pattern = "yyyy/MM/dd")注解controller @GetMapping("/getDate") public String getDate(DateGetEntity entity){ System.out.println(entity); re 基础 2023-11-23 133 点赞 2 评论 201 浏览