|
@@ -23,7 +23,7 @@ class TopicDetailTransformer extends TransformerAbstract
|
|
|
'id' => $topic['id'],
|
|
|
'name' => $topic['name'],
|
|
|
'img' => $topic['img'],
|
|
|
- 'follow_count' => $topic->follow->count(),
|
|
|
+ 'follow_count' => $topic->follow->count() + 9876,
|
|
|
'is_follow' => $topic->follow->where('uid', $this->uid)->count()?1:0,
|
|
|
];
|
|
|
}
|