pub async fn get_comments(post_id: i32) -> Result<CommentTreeResponse, ApiError>Expand description
获取指定文章的已审核评论列表。 获取指定文章的已审核评论列表。
优先命中缓存;按 id 升序返回,便于前端构建嵌套树。
pub async fn get_comments(post_id: i32) -> Result<CommentTreeResponse, ApiError>获取指定文章的已审核评论列表。 获取指定文章的已审核评论列表。
优先命中缓存;按 id 升序返回,便于前端构建嵌套树。