@JsonFormat(
pattern = “yyyy-MM-dd HH:mm:ss”,
timezone = “GMT+8”
)
private Date date;
spring 时间格式展示
最新推荐文章于 2023-05-16 20:04:47 发布
@JsonFormat(
pattern = “yyyy-MM-dd HH:mm:ss”,
timezone = “GMT+8”
)
private Date date;