Loading...

LocalDateTime和Date使用@JsonFormat显示毫秒时间

@JsonFormat(partten="yyyy-MM-dd HH:mm:ss[.SSS]")
private LocalDateTime startTime;

@JsonFormat(partten="yyyy-MM-dd HH:mm:ss.SSS")
private Date createTime;
posted @ 2020-09-26 13:55  awesomego  阅读(3462)  评论(0编辑  收藏  举报