瀏覽代碼

话题内容

wzq 5 年之前
父節點
當前提交
31260faf6b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Transformers/Post/PostTopicTransformer.php

+ 1 - 1
app/Transformers/Post/PostTopicTransformer.php

@@ -20,7 +20,7 @@ class PostTopicTransformer extends TransformerAbstract
             'avatar' => $post['avatar'],
             'topic' => $this->getTopic($post['topic_ids'], 1),
             'img' => $post['img'],
-            'content' => subtext(strip_tags($post['content']), 20),
+            'content' => subtext(strip_tags($post['content']), 200),
         ];
     }
 }