WIN-2308041133\Administrator vor 2 Tagen
Ursprung
Commit
b2f019a12c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/model/api/ForumPost.php

+ 1 - 1
app/model/api/ForumPost.php

@@ -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;
     }