From f0beb464c1fd4cf1c6481f86610a6a130b93ead4 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 10 Jan 2024 21:30:14 +0800 Subject: [PATCH] 修订文字 --- snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java index af11f3f..280508c 100644 --- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java +++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/entity/BlogArticleVo.java @@ -25,9 +25,11 @@ package vip.xiaonuo.modular.blogarticle.entity; import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Data; import java.util.Date; +import java.util.List; /** * blog文章主体 @@ -79,7 +81,9 @@ /** * 封面文件地址(id) */ + @JsonIgnore private Long coverFileId; + /** * 上次编辑时间 @@ -124,4 +128,31 @@ */ private String jumpURL; + /** + * 上篇日志 + */ + private BlogArticleVo previousRecord; + + /** + * 下篇日志 + */ + private BlogArticleVo nextRecord; + + + /** + * 图库地址列表 + */ + private List<String> pictureUrlList; + + /** + * 视频地址列表 + */ + private List<String> videoUrlList; + + @JsonIgnore + private String videoIds; + + @JsonIgnore + private String pictureIds; + } -- Gitblit v1.9.1