|
@@ -838,12 +838,12 @@ class PostRepository
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- $info['total_read'] = $totalRead;
|
|
|
- $info['total_post'] = $totalPost;
|
|
|
- $info['total_share'] = $totalShare;
|
|
|
- $info['total_like'] = $totalLike;
|
|
|
- $info['total_collect'] = $totalCollect;
|
|
|
- $info['total_comment'] = $totalComment;
|
|
|
+ $info['data']['total_read'] = $totalRead;
|
|
|
+ $info['data']['total_post'] = $totalPost;
|
|
|
+ $info['data']['total_share'] = $totalShare;
|
|
|
+ $info['data']['total_like'] = $totalLike;
|
|
|
+ $info['data']['total_collect'] = $totalCollect;
|
|
|
+ $info['data']['total_comment'] = $totalComment;
|
|
|
return $info;
|
|
|
}
|
|
|
|