feat(ai-companion): 补充点赞与评论统计字段

- 在 AiCompanionVO 新增 likeCount、commentCount
- 分页接口批量聚合点赞/评论数并填充到 VO
- 减少 N+1 查询,提升列表接口性能
This commit is contained in:
2026-01-27 18:37:47 +08:00
parent b6d124619e
commit e68f1bea56
3 changed files with 60 additions and 3 deletions

View File

@@ -2,6 +2,6 @@
"active": true,
"started_at": "2026-01-26T13:01:18.447Z",
"original_prompt": "刚刚回滚了代码现在AI陪聊角色评论需要使用KeyboardAiCompanionCommentLikeService添加一个评论点赞接口用来记录点赞和取消点赞。 ulw",
"reinforcement_count": 7,
"last_checked_at": "2026-01-27T10:31:33.079Z"
"reinforcement_count": 8,
"last_checked_at": "2026-01-27T10:35:42.226Z"
}