Wang Chen пре 4 година
родитељ
комит
d9bc625114
1 измењених фајлова са 3 додато и 9 уклоњено
  1. 3 9
      app/Console/Commands/Push/PushTagBind.php

+ 3 - 9
app/Console/Commands/Push/PushTagBind.php

@@ -4,15 +4,9 @@ namespace App\Console\Commands\Push;
 
 
 use App\Consts\PushConst;
-use App\Libs\Push\HuaWei\HwPushCommon;
 use App\Libs\Push\OPPOPush\OPPOPushCommon;
-use App\Libs\Push\VPush\VPush;
-use App\Libs\Push\XMPush\MiPushCommon;
-use App\Modules\Push\Models\QappPushApp;
-use App\Modules\Push\Models\QappPushUser;
 use App\Modules\Push\Services\PushAppService;
 use Illuminate\Console\Command;
-use phpDocumentor\Reflection\Types\True_;
 
 class PushTagBind extends Command
 {
@@ -53,9 +47,9 @@ class PushTagBind extends Command
                 break;
             }
 
-            $groupUsers = collect($users)->groupBy('app_id')->pluck('reg_id')->all();
-            foreach($groupUsers as $key => $regIds) {
-                var_dump($key, $regIds);
+            $groupUsers = collect($users)->groupBy('app_id')->all();
+            foreach($groupUsers as $key => $userList) {
+                var_dump($key, $userList);
             }
 
             # 分页id