摘要:
Date to String new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(startTime); Date to DateTime DateTime time = new DateTime(new Date()); Date to Strin 阅读全文
posted @ 2023-03-10 11:03
lambertlt
阅读(19)
评论(0)
推荐(0)
摘要:
一、添加注解 在实体类属性上加如下注解 // 后台返回数据到前端的数据格式 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") // 前台传递参数到后台的数据格式 @DateTimeFormat(pattern = "yyyy- 阅读全文
posted @ 2023-03-10 10:44
lambertlt
阅读(573)
评论(0)
推荐(0)

浙公网安备 33010602011771号