feat: 增加查询记录带上是否点赞的功能

This commit is contained in:
2026-09-12 16:28:03 +08:00
parent 8ed800f083
commit 2f7a5240be
3 changed files with 34 additions and 29 deletions

View File

@@ -27,6 +27,7 @@ class RecordResponse(BaseModel):
image_list: List[str]
video_list: List[str]
like_count: int
liked: bool = False
comment_count: int
comments: List[CommentResponse] = []
create_time: datetime