|
|
@@ -112,7 +112,7 @@ class ForumPost extends BaseModel
|
|
|
$this->where('id', $id)->inc('view_count')->update();
|
|
|
|
|
|
// 获取评论列表
|
|
|
- $post['comments'] = (new ForumComment())->getList(1, [['c.post_id', '=', $id]], 50);
|
|
|
+ $post['comments'] = (new ForumComment())->getList(1, [['c.post_id', '=', $id]], 10000);
|
|
|
|
|
|
return $post;
|
|
|
}
|