fix(report):修正导出的文件名。

This commit is contained in:
徐涛 2022-08-22 22:53:05 +08:00
parent 67cfb60515
commit ba7af386c4

View File

@ -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,