From ba7af386c4a338344df3820d46bd939f9fb5bad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Mon, 22 Aug 2022 22:53:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(report):=E4=BF=AE=E6=AD=A3=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E7=9A=84=E6=96=87=E4=BB=B6=E5=90=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/end_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/end_user.go b/controller/end_user.go index 5d485db..fb06e8e 100644 --- a/controller/end_user.go +++ b/controller/end_user.go @@ -67,7 +67,7 @@ func downloadEndUserRegisterTemplate(c *gin.Context) { c.Status(http.StatusOK) c.Header("Content-Type", "application/octet-stream") c.Header("Content-Transfer-Encoding", "binary") - c.Header("Content-Disposition", "attachment; filename=抄表记录.xslx") + c.Header("Content-Disposition", "attachment; filename=抄表记录.xlsx") gen := lo.Ternary[excel.ExcelTemplateGenerator]( meterType == 0,