diff --git a/app/common/service/PostCommentService.php b/app/common/service/PostCommentService.php index e50fdd4..57bf76b 100644 --- a/app/common/service/PostCommentService.php +++ b/app/common/service/PostCommentService.php @@ -69,7 +69,7 @@ class PostCommentService } // 根评论ID if (isset($p['received_id']) && !empty($p['received_id'])) { - $config['where']['id'] = ['not in', $p['parent_id']]; + $config['where']['id'] = ['not in', $p['received_id']]; } // 根评论ID if (isset($p['status']) && !empty($p['status'])) {