xyxie 9 months ago
parent
commit
9d43879be4
1 changed files with 0 additions and 2 deletions
  1. 0 2
      controllers/data_manage/excel/excel_info.go

+ 0 - 2
controllers/data_manage/excel/excel_info.go

@@ -2242,8 +2242,6 @@ func (c *ExcelInfoController) Download() {
 			return
 		}
 	case utils.BALANCE_TABLE: // 混合表格
-		c.Ctx.Output.Header("Content-Disposition", "attachment; filename=excel_files.zip")
-		c.Ctx.Output.Header("Content-Type", "application/zip")
 		savePath, fileName, err, errMsg := DownloadBalanceTable(excelInfo)
 		if err != nil {
 			br.Msg = "下载失败"