From f4f9994421e6b8e3314af78df6d7e528dff01d55 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Fri, 28 Nov 2025 13:44:19 +0800 Subject: [PATCH] 1 --- app/common/service/PostCommentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])) {