From f3948fa31158c7b7dea3b038e01c43ce54c55a1c Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 14 Apr 2021 11:09:57 +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