diff --git a/app/Admin/Repositories/v3/ReportCommunity.php b/app/Admin/Repositories/v3/ReportCommunity.php index c1fe04f..3497e13 100644 --- a/app/Admin/Repositories/v3/ReportCommunity.php +++ b/app/Admin/Repositories/v3/ReportCommunity.php @@ -112,7 +112,6 @@ class ReportCommunity extends EloquentRepository ->orWhere('user_id', '=', $employee['user_id']); }) ->get() - // ->map(function ($value) {return (array)$value;}) ->toArray(); // 新增绑定用户数 Statistics @@ -126,7 +125,6 @@ class ReportCommunity extends EloquentRepository $allCsBindUsers = UserRelationBindModel::where('bind_type', '=', 1) ->whereIn('source_id', array_values(array_column($allCsInfos, 'admin_user_id'))) ->get() - // ->map(function ($value) {return (array)$value;}) ->toArray(); // 平台新增用户数 Statistics @@ -137,7 +135,6 @@ class ReportCommunity extends EloquentRepository ->groupBy('user_id') ->havingRaw('MIN(created_at)>='.strtotime($startTime).' AND MIN(created_at)<='.strtotime($endTime).'') ->get() - ->map(function ($value) {return (array)$value;}) ->toArray(); $platNewUserCount = count($platNewUsers);