From eb56a0894cbab46f53d9c89e0f9e4b93b8d62373 Mon Sep 17 00:00:00 2001 From: zhaoyu Date: Thu, 18 Jan 2024 19:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/zcloud/util/HiddenExcelImgToSessionView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/zcloud/util/HiddenExcelImgToSessionView.java b/src/main/java/com/zcloud/util/HiddenExcelImgToSessionView.java index 2366abae..52306ff6 100644 --- a/src/main/java/com/zcloud/util/HiddenExcelImgToSessionView.java +++ b/src/main/java/com/zcloud/util/HiddenExcelImgToSessionView.java @@ -19,6 +19,7 @@ import org.apache.poi.ss.usermodel.VerticalAlignment; import org.apache.poi.ss.usermodel.Workbook; import org.apache.shiro.session.Session; import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Component; import org.springframework.web.servlet.view.document.AbstractXlsView; import com.zcloud.entity.PageData; @@ -30,6 +31,7 @@ import net.coobird.thumbnailator.Thumbnails; * 作者:luoxiaobao * 官网:www.qdkjchina.com */ +@Component public class HiddenExcelImgToSessionView extends AbstractXlsView{ @Value("${http.file.url}")