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/service/BlogArticleService.java | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/service/BlogArticleService.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/service/BlogArticleService.java index 7619919..0058ab1 100644 --- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/service/BlogArticleService.java +++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/service/BlogArticleService.java @@ -25,10 +25,17 @@ package vip.xiaonuo.modular.blogarticle.service; import com.baomidou.mybatisplus.extension.service.IService; +import org.springframework.scheduling.annotation.Async; import vip.xiaonuo.core.pojo.page.PageResult; +import vip.xiaonuo.modular.blogStatistics.vo.BlogArchiveDetailVo; import vip.xiaonuo.modular.blogarticle.entity.BlogArticle; +import vip.xiaonuo.modular.blogarticle.entity.BlogArticleVo; import vip.xiaonuo.modular.blogarticle.param.BlogArticleParam; +import vip.xiaonuo.modular.blogarticle.param.BlogArticleQueryDto; + import java.util.List; +import java.util.Map; +import java.util.concurrent.Future; /** * blog文章主体service接口 @@ -84,7 +91,7 @@ * @author inleft * @date 2022-01-22 16:53:06 */ - BlogArticle detail(BlogArticleParam blogArticleParam); + BlogArticle detail(BlogArticleParam blogArticleParam); /** * 导出blog文章主体 @@ -92,6 +99,21 @@ * @author inleft * @date 2022-01-22 16:53:06 */ - void export(BlogArticleParam blogArticleParam); + void export(BlogArticleParam blogArticleParam); + List<BlogArticleVo> searchList(Map<String, Object> param); + + long searchListCount(Map<String, Object> param); + + List<BlogArchiveDetailVo> searchMonthCount(Integer separateYear); + + /** + * 获取相邻上下记录的日志id + */ + @Async + Future<List<BlogArticleVo>> getAdjoiningRecord(BlogArticleQueryDto queryDto); + + List<BlogArticleVo> searchPlatformList(Map<String, Object> param); + + long searchPlatformListCount(Map<String, Object> param); } -- Gitblit v1.9.1