|
@@ -146,8 +146,9 @@ class BeanRepository
|
|
|
$content_author_id = array_column($excellent_residents,'content_author_id');
|
|
|
$content_author_id = array_unique($content_author_id);
|
|
|
$uids = implode(',', $content_author_id);
|
|
|
+ Log::debug('uids'.$uids);
|
|
|
$author_data = $this->getFollowMembersStatus($uids);
|
|
|
-
|
|
|
+ Log::debug('author_data'.$author_data);
|
|
|
if ($author_data){
|
|
|
foreach ($excellent_residents as $k=>$v){
|
|
|
if(!isset($author_data[$v['content_author_id']])) continue;
|
|
@@ -156,8 +157,6 @@ class BeanRepository
|
|
|
$excellent_residents[$k]['avatar'] = $author_data[$v['content_author_id']]['avatar'];
|
|
|
}
|
|
|
}
|
|
|
- var_dump($uids);
|
|
|
- var_dump($author_data);die;
|
|
|
|
|
|
return $excellent_residents;
|
|
|
}
|
|
@@ -177,4 +176,5 @@ class BeanRepository
|
|
|
return $all_best_author;
|
|
|
|
|
|
}
|
|
|
+
|
|
|
}
|