...
|
...
|
@@ -92,8 +92,9 @@ class Helpers |
|
|
$result['like'] = array();
|
|
|
$result['like']['count'] = $articleData['praise_num'];
|
|
|
$result['like']['isLiked'] = isset($articleData['isPraise']) && $articleData['isPraise'] === 'Y';
|
|
|
$result['collect'] = array();
|
|
|
$result['collect']['isCollected'] = isset($articleData['isFavor']) && $articleData['isFavor'] === 'Y';
|
|
|
// 收藏
|
|
|
// $result['collect'] = array();
|
|
|
// $result['collect']['isCollected'] = isset($articleData['isFavor']) && $articleData['isFavor'] === 'Y';
|
|
|
$result['share'] = $share;
|
|
|
|
|
|
// 判断是否显示作者信息
|
...
|
...
|
|