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,