|
@@ -29,11 +29,11 @@ class PostTransformer extends TransformerAbstract
|
|
|
'topic' => $post->topic(),
|
|
|
'content' => subtext($post['content'], 20),
|
|
|
'location' => $post['location'],
|
|
|
- 'pv' => $post->data->pv,
|
|
|
- 'praise_count' => $post->data->praise_count,
|
|
|
- 'share_count' => $post->data->share_count,
|
|
|
+ 'pv' => $post->data->pv_real.'/'.$post->data->pv,
|
|
|
+ 'praise_count' => $post->data->praise_real_count.'/'.$post->data->praise_count,
|
|
|
+ 'share_count' => $post->data->share_real_count.'/'.$post->data->share_count,
|
|
|
'comment_count' => $post->data->comment_count,
|
|
|
- 'collect_count' => $post->data->collect_count,
|
|
|
+ 'collect_count' => $post->data->collect_real_count.'/'.$post->data->collect_count,
|
|
|
'will_collect_bean' => $post->data->will_collect_bean,
|
|
|
'is_suggest' => $post['is_suggest'],
|
|
|
];
|