feat: add api of get_interaction_list
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -9,11 +9,27 @@ class InteractionIn(Schema):
|
||||
comment = fields.String(allow_none=True)
|
||||
|
||||
|
||||
class InteractionTodayIn(Schema):
|
||||
class InteractionBriefIn(Schema):
|
||||
current_date = fields.String()
|
||||
|
||||
|
||||
class InteractionTodayOut(Schema):
|
||||
class InteractionListIn(Schema):
|
||||
current_date = fields.String()
|
||||
category = fields.Integer(required=True)
|
||||
|
||||
|
||||
class InteractionBriefOut(Schema):
|
||||
fire_count = fields.Integer()
|
||||
heart_count = fields.Integer()
|
||||
comment_count = fields.Integer()
|
||||
comment_count = fields.Integer()
|
||||
|
||||
|
||||
class InteractionOut(Schema):
|
||||
nickname = fields.String()
|
||||
avatar_url = fields.String()
|
||||
comment = fields.String()
|
||||
create_time = fields.String()
|
||||
|
||||
|
||||
class InteractionListOut(Schema):
|
||||
interactions = fields.List(fields.Nested(InteractionOut))
|
Reference in New Issue
Block a user