DeleteComment 删除评论的实现
(ctx context.Context, commentId int64)
| 72 | |
| 73 | // DeleteComment 删除评论的实现 |
| 74 | func (c *commentService) DeleteComment(ctx context.Context, commentId int64) error { |
| 75 | return c.repo.DeleteComment(ctx, commentId) |
| 76 | } |
| 77 | |
| 78 | // GetMoreCommentsReply 获取更多评论回复的实现 |
| 79 | func (c *commentService) GetMoreCommentsReply(ctx context.Context, rootId, maxId, limit int64) ([]domain.Comment, error) { |
nothing calls this directly
no test coverage detected