|
@@ -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']:'',
|
|
|
];
|
|
|
}
|
|
|
}
|