Commit 620bbe6a authored by zhanglu's avatar zhanglu

add: 日记本增加帖子数

parent 7c2d7e32
...@@ -45,6 +45,7 @@ class DiaryInfo(Schema): ...@@ -45,6 +45,7 @@ class DiaryInfo(Schema):
content: str = Field(..., description="内容") content: str = Field(..., description="内容")
service_id: str = Field(None, description="日记关联美购ID") service_id: str = Field(None, description="日记关联美购ID")
is_voted: bool = Field(False, description="是否点赞") is_voted: bool = Field(False, description="是否点赞")
topic_num: int = Field(0, description="帖子数")
vote_num: int = Field(0, description="点赞数") vote_num: int = Field(0, description="点赞数")
reply_num: int = Field(0, description="评论数") reply_num: int = Field(0, description="评论数")
gm_url: str = Field(None, description="跳转协议") gm_url: str = Field(None, description="跳转协议")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment