feat: add api of today brief
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-09-19 17:15:07 +08:00
parent 7f21fac864
commit 4214e7b797
3 changed files with 31 additions and 4 deletions

View File

@@ -6,4 +6,14 @@ class InteractionIn(Schema):
category = fields.Integer()
receiver_id = fields.String()
related_party_id = fields.String(allow_none=True)
comment = fields.String(allow_none=True)
comment = fields.String(allow_none=True)
class InteractionTodayIn(Schema):
current_date = fields.String()
class InteractionTodayOut(Schema):
fire_count = fields.Integer()
heart_count = fields.Integer()
comment_count = fields.Integer()