|
@@ -64,9 +64,7 @@ class SuggestTransformer extends TransformerAbstract
|
|
'video' => $post['video'],
|
|
'video' => $post['video'],
|
|
'pv' => $post->data->pv,
|
|
'pv' => $post->data->pv,
|
|
'praise_count' => $post->data->praise_count,
|
|
'praise_count' => $post->data->praise_count,
|
|
- 'share_count' => $post->data->share_count,
|
|
|
|
'comment_count' => $post->data->comment_count,
|
|
'comment_count' => $post->data->comment_count,
|
|
- 'collect_count' => $post->data->collect_count,
|
|
|
|
'will_collect_bean' => $post->data->will_collect_bean,
|
|
'will_collect_bean' => $post->data->will_collect_bean,
|
|
'is_like' => PostLike::where('post_id', $post['id'])->where('uid', $this->uid)->exists()?1:0,
|
|
'is_like' => PostLike::where('post_id', $post['id'])->where('uid', $this->uid)->exists()?1:0,
|
|
'is_collect' => PostCollect::where('post_id', $post['id'])->where('uid', $this->uid)->exists()?1:0,
|
|
'is_collect' => PostCollect::where('post_id', $post['id'])->where('uid', $this->uid)->exists()?1:0,
|