Wang Chen před 4 roky
rodič
revize
89fc930cb1
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      app/Console/Commands/Push/PushTag.php

+ 3 - 3
app/Console/Commands/Push/PushTag.php

@@ -78,12 +78,12 @@ class PushTag extends Command
                 $tags   = $client->getAllTags($regId);
 
                 // # 创建tag
-                // $client->addTags(PushConst::TOPIC_ALL, '全部用户');
+                $client->addTags(PushConst::TOPIC_ALL, '全部用户');
 
                 // # 获取全部tag
-                // $tags2 = $client->getAllTags($regId);
+                $tags2 = $client->getAllTags($regId);
 
-                dd($tags);
+                dd($tags, $tags2);
                 break;
             // VIVO
             case PushConst::PROVIDER_VIVO: