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