feat: add api of body record chart 4
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-08-18 12:09:46 +08:00
parent 52a1bf04db
commit 5383e81aae
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ def get_records(query_data):
@record.get('/chart') @record.get('/chart')
@record.doc(summary='查询身体记录图表', description='查询身体记录图表。注period 参数有 ["week", "day", "month"] 三个选项,如果不传,则默认是 week') @record.doc(summary='查询身体记录图表', description='查询身体记录图表。注period 参数有 ["week", "day"] 两个选项,如果不传,则默认是 week')
@record.input(BodyRecordChartIn, location='query') @record.input(BodyRecordChartIn, location='query')
@record.output(BodyRecordChartOut) @record.output(BodyRecordChartOut)
@login_required @login_required