Skip to main content

get_comments

Function get_comments 

Source
pub async fn get_comments(post_id: i32) -> Result<CommentTreeResponse, ApiError>
Expand description

获取指定文章的已审核评论列表。

优先命中缓存;按 id 升序返回,便于前端构建嵌套树。