Wang Chen 4 vuotta sitten
vanhempi
commit
c6af658ce1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Console/Commands/Push/PushTag.php

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

@@ -81,7 +81,7 @@ class PushTag extends Command
                 $tag = PushConst::TOPIC_ALL;
                 // $client->addTags(PushConst::TOPIC_ALL, '全部用户');
 
-                $client->subscribeTags($regId, [$tag]);
+                $client->subscribeTags($regId, $tag);
 
                 // # 获取全部tag
                 $tags2 = $client->getAllTags($regId);