From 5f1cd1aa65ae4822b9d70845e7099d51ffcd8c1f Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 9 Aug 2024 11:11:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(ListsExcelTrait):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BA=86Excel=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD=EF=BC=8C?= =?UTF-8?q?=E5=B0=86http=E5=8D=8F=E8=AE=AE=E6=94=B9=E4=B8=BAhttps=EF=BC=8C?= =?UTF-8?q?=E6=8F=90=E9=AB=98=E5=AE=89=E5=85=A8=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/lists/ListsExcelTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/lists/ListsExcelTrait.php b/app/common/lists/ListsExcelTrait.php index 101509189..2397c012e 100644 --- a/app/common/lists/ListsExcelTrait.php +++ b/app/common/lists/ListsExcelTrait.php @@ -92,7 +92,7 @@ trait ListsExcelTrait } $writer->save($src . $this->fileName); //设置本地excel缓存并返回下载地址 - return 'http://'.request()->host().'/admin/download/export?file='.$exportCache->setFile($this->fileName); + return 'https://'.request()->host().'/admin/download/export?file='.$exportCache->setFile($this->fileName); } /** * @notes 获取导出信息