From c2e8f58cd51ce760ec16f7311072d71022d42e1b Mon Sep 17 00:00:00 2001 From: zhangxin Date: Fri, 19 Mar 2021 16:45:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils.go b/utils/utils.go index 14e2e61..730a147 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -390,7 +390,7 @@ func FileExist(file string) bool { } - +// 导出excel文件 prefixFilename 文件前缀名称 func SaveExcelFile(list []interface{}, sheetName string, prefixFilename string) (filepath string, err error) { file := excelize.NewFile() streamWriter, err := file.NewStreamWriter(sheetName)