From fa91cc62d16b55c99d4cf6451ac6e2f1e0031dd5 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sat, 15 May 2021 18:35:15 +0800 Subject: [PATCH] 20210515 云顶 --- src/main/java/com/xcong/excoin/modules/documentary/vo/FollowFollowerNoticeVo.java | 3 +++ 1 files changed, 3 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 042a3bf..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 @@ -2,6 +2,8 @@ import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; + import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -10,6 +12,7 @@ @ApiModel(value = "FollowFollowerNoticeVo", description = "返回值") public class FollowFollowerNoticeVo { + @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone="GMT+8") @ApiModelProperty("时间") private Date createTime; -- Gitblit v1.9.1