feat: add api of body record chart
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-08-18 11:26:33 +08:00
parent a21bd3aef5
commit a55e4b97d6
3 changed files with 42 additions and 4 deletions

View File

@@ -8,4 +8,9 @@ class AddBodyRecordError(HTTPError):
class BodyRecordNotFound(HTTPError):
status_code = 404
message = '找不到该记录'
message = '找不到该记录'
class BodyRecordChartError(HTTPError):
status_code = 500
message = '查询身体记录图表错误'