forked from free-lancers/electricity_bill_calc_service
		
	fix(report):修正导出的文件名。
This commit is contained in:
		| @@ -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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user