Wang Chen %!s(int64=4) %!d(string=hai) anos
pai
achega
c6af658ce1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);