app/api/excel.py
@@ -155,7 +155,7 @@ return JSONResponse(content={"error": "文件不存在"}, status_code=404) return FileResponse( path=file_path, filename=file_name, filename="Excel.xlsx", media_type='application/octet-stream', ) # def delete_file():