From 1c47eef413c637eada898a20e4df2e8168dbf916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=AD=A6=E5=B3=B0?= Date: Tue, 14 May 2024 17:09:47 +0800 Subject: [PATCH] fix:export xls file --- services/case_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/case_service.py b/services/case_service.py index 8a310f0..097edfe 100644 --- a/services/case_service.py +++ b/services/case_service.py @@ -595,7 +595,7 @@ def __get_priority(pr): async def excel_template(): - filepath = 'common/dist/temp.xlsx' + filepath = 'common/static/temp.xlsx' with open(filepath, "rb") as f: content = f.read() return content -- Gitee