From 963e3d88a3bd48ecb7121ee69c503745daad19ab Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 30 Oct 2024 15:39:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/hdl/hdl_settle_center_medium.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/hdl/hdl_settle_center_medium.go b/app/hdl/hdl_settle_center_medium.go index b63ee5d..63158c2 100644 --- a/app/hdl/hdl_settle_center_medium.go +++ b/app/hdl/hdl_settle_center_medium.go @@ -180,7 +180,7 @@ func SettleCenterSettleFileDown(c *gin.Context) { pdf.Text(left, 230, "日期:") // 保存PDF文件 - pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, "-", "") + ")结算单.pdf" + pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, " ", "") + ")结算单.pdf" err := pdf.OutputFileAndClose(path + "/" + pdfName) if err != nil { fmt.Println(err) @@ -284,7 +284,7 @@ func AgentSettleCenterSettleFileDown(c *gin.Context) { pdf.Text(left, 230, "日期:") // 保存PDF文件 - pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, "-", "") + ")结算单.pdf" + pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, " ", "") + ")结算单.pdf" err := pdf.OutputFileAndClose(path + "/" + pdfName) if err != nil { fmt.Println(err)