WIN-2308041133\Administrator hai 2 días
pai
achega
b2f019a12c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }