소스 검색

话题内容

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),
         ];
     }
 }