@@ -848,7 +848,7 @@ class AlbumBossController extends Controller
}
$store_id = $request->input('store_id');
- $agent = AlbumAgentModel::where('store_id', $store_id)->orderByDesc('newCount')->select('id', 'user_id', 'realname', 'pointCount', 'callCount', 'favoriteCount', 'get_count', 'share_times', 'newCount')->paginate(12);
+ $agent = AlbumAgentModel::where('store_id', $store_id)->orderByDesc('newCount')->paginate(12);
foreach ($agent as $value) {
$user = AlbumUserModel::where([['id', $value->user_id], ['store_id', $store_id]])->first(['avatar']);
$value->avatar = $user->avatar;