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