Browse Source

Merge branch 'feature/eta1.8.5_excel_balance' of eta_server/eta_api into master

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

+ 1 - 1
controllers/data_manage/excel/excel_info.go

@@ -2361,7 +2361,7 @@ func (c *ExcelInfoController) Download() {
 			return
 		}
 		defer func() {
-			_ = os.Remove(uploadDir)
+			_ = os.RemoveAll(uploadDir)
 		}()
 		// todo 删除文件
 		c.Ctx.Output.Download(savePath, fileName)