wzq 5 years ago
parent
commit
7f03faf5a0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Transformers/Post/DetailTransformer.php

+ 1 - 0
app/Transformers/Post/DetailTransformer.php

@@ -28,6 +28,7 @@ class DetailTransformer extends  TransformerAbstract
             'topic' => $post->topic(),
             'title' => $post['title'],
             'content' => $post['content'],
+            'type' => $post['type'],
             'img' => $post['img'],
             'video' => $post['video'],
             'imgs' => $imgs,