From c8a174e0d32000253dc0718a77cc3d3cf00b3481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=80=C3=AE=C3=97=C3=9A=C3=95=C3=B1?= Date: Wed, 3 Aug 2022 16:48:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=99=E5=AD=98=E5=88=86=E6=9E=90=E5=88=86?= =?UTF-8?q?=E7=BB=841?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_v1/endpoints/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_v1/endpoints/query.py b/api/api_v1/endpoints/query.py index b212e79..cb326d4 100644 --- a/api/api_v1/endpoints/query.py +++ b/api/api_v1/endpoints/query.py @@ -597,7 +597,7 @@ async def retention_model(request: Request, # 自定义区间 if g_data['intervalType'] == 'user_defined': - int_range = analysis.event_view.get('groupBy')[0]['quotaIntervalArr'] + int_range = g_data['quotaIntervalArr'] chk_range = [] for index, value in enumerate(int_range): # 开头