From 8408fe5af8de73688639109bc463a8f2ec927ec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BC=9F?= <250213850@qq.com> Date: Wed, 26 Oct 2022 10:30:14 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=A4=84=E7=90=86LTV=E5=AF=BC=E8=A1=A8?= =?UTF-8?q?=E4=B8=8D=E6=88=90=E5=8A=9F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_v1/endpoints/xquery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_v1/endpoints/xquery.py b/api/api_v1/endpoints/xquery.py index 67d6a48..31d0aac 100644 --- a/api/api_v1/endpoints/xquery.py +++ b/api/api_v1/endpoints/xquery.py @@ -258,7 +258,7 @@ async def ltv_model_export(request: Request, ): """ ltv分析 数据导出""" await analysis.init(data_where=current_user.data_where) - data = analysis.ltv_model_sql() + data = await analysis.ltv_model_sql() file_name = quote(f'lvt.xlsx') mime = mimetypes.guess_type(file_name)[0]