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