From 52a1bf04db603ae944933e6793bc45e132951df2 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Fri, 18 Aug 2023 11:41:32 +0800 Subject: [PATCH] feat: add api of body record chart 3 --- app/api/v1/record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/v1/record.py b/app/api/v1/record.py index 11f9ea6..663993c 100644 --- a/app/api/v1/record.py +++ b/app/api/v1/record.py @@ -54,7 +54,7 @@ def get_records(query_data): @record.get('/chart') -@record.doc(summary='查询身体记录图表', description='查询身体记录图表') +@record.doc(summary='查询身体记录图表', description='查询身体记录图表。注:period 参数有 ["week", "day", "month"] 三个选项,如果不传,则默认是 week') @record.input(BodyRecordChartIn, location='query') @record.output(BodyRecordChartOut) @login_required