From 2ddbd99aa5b2e396f96c6daba60fe1ac2573d9fb Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sat, 18 May 2024 11:53:54 +0800 Subject: [PATCH] 新增RSS 订阅链接 --- 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