feat: add api of body record chart 3
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
cbc0fd3995
commit
52a1bf04db
|
@ -54,7 +54,7 @@ def get_records(query_data):
|
||||||
|
|
||||||
|
|
||||||
@record.get('/chart')
|
@record.get('/chart')
|
||||||
@record.doc(summary='查询身体记录图表', description='查询身体记录图表')
|
@record.doc(summary='查询身体记录图表', description='查询身体记录图表。注:period 参数有 ["week", "day", "month"] 三个选项,如果不传,则默认是 week')
|
||||||
@record.input(BodyRecordChartIn, location='query')
|
@record.input(BodyRecordChartIn, location='query')
|
||||||
@record.output(BodyRecordChartOut)
|
@record.output(BodyRecordChartOut)
|
||||||
@login_required
|
@login_required
|
||||||
|
|
Loading…
Reference in New Issue