vip当日购买信息导出excel

This commit is contained in:
zhoupengwei 2022-05-10 19:47:20 +08:00
parent d7a49bf56d
commit e4bb8ac94a

View File

@ -30,7 +30,7 @@ func DataToExcel(w http.ResponseWriter, r *http.Request, titleList []string, dat
}
}
file.Save("D:\\temp\\vip_excel")
//file.Save("D:\\temp\\vip_excel"+fileName)
fileName = fmt.Sprintf("%s.xlsx", fileName)
//_ = file.Save(fileName)