From 3b51e28456fc8c3ca03a27df70645b82c1a1530b Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 08 Sep 2020 18:00:30 +0800 Subject: [PATCH] modify --- src/main/java/com/xcong/excoin/modules/documentary/vo/FollowFollowerNoticeVo.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/documentary/vo/FollowFollowerNoticeVo.java b/src/main/java/com/xcong/excoin/modules/documentary/vo/FollowFollowerNoticeVo.java index e878081..be91a08 100644 --- a/src/main/java/com/xcong/excoin/modules/documentary/vo/FollowFollowerNoticeVo.java +++ b/src/main/java/com/xcong/excoin/modules/documentary/vo/FollowFollowerNoticeVo.java @@ -1,5 +1,9 @@ package com.xcong.excoin.modules.documentary.vo; +import java.util.Date; + +import com.fasterxml.jackson.annotation.JsonFormat; + import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -8,6 +12,10 @@ @ApiModel(value = "FollowFollowerNoticeVo", description = "返回值") public class FollowFollowerNoticeVo { + @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone="GMT+8") + @ApiModelProperty("时间") + private Date createTime; + @ApiModelProperty("标题") private String title; -- Gitblit v1.9.1