Ver código fonte

推荐详情

wzq 5 anos atrás
pai
commit
8212c53222
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      app/Transformers/Post/SuggestTransformer.php

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

@@ -88,6 +88,7 @@ class SuggestTransformer extends TransformerAbstract
             'is_collect' => PostCollect::where('post_id', $post['id'])->where('uid', $this->uid)->exists()?1:0,
             'comment' => $comment,
             'is_follow' => $isFollow,
+            'desc_url' => $post['type'] == 'html'?config('customer.app_service_url').'/post/fragment/detail/'.$post['id']:'',
         ];
     }
 }