From ff14c4edc7aa41db4b8fd8722486027b8ff84af0 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Fri, 12 Aug 2022 14:11:39 +0800
Subject: [PATCH] 友链弹窗添加

---
 snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java
index 72ae337..8bd9077 100644
--- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java
+++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java
@@ -148,6 +148,7 @@
         param.put("pageNo", PageUtil.getStart(queryDto.getPageNo() - 1, queryDto.getPageSize()));
         param.put("pageSize", queryDto.getPageSize());
         param.put("typeId", queryDto.getTypeId());
+        param.put("fileType", queryDto.getFileType());
 
         String blogSourcePrefix = ConstantContextHolder.getBlogSourcePrefix();
 
@@ -220,7 +221,7 @@
             throw new BlogException(BlogExceptionEnum.article_file_lose);
 
         vo.setArticleFileURL(tempURL);
-
+        vo.setCoverFileURL(this.getBlogSourceURL(vo.getCoverFileId()));
         return new SuccessResponseData(vo);
     }
 

--
Gitblit v1.9.1