Commit 0c5a43ab authored by wwccw0591's avatar wwccw0591

pc

parent 27ac785b
...@@ -73,9 +73,9 @@ class ClientPush ...@@ -73,9 +73,9 @@ class ClientPush
// 这四个方法中的某一个即可,这里仅作为示例,当然全部调用也可以,多项 audience 调用表示其结果的交集 // 这四个方法中的某一个即可,这里仅作为示例,当然全部调用也可以,多项 audience 调用表示其结果的交集
// 即是说一般情况下,下面三个方法和没有列出的 addTagAnd 一共四个,只适用一个便可满足大多数的场景需求 // 即是说一般情况下,下面三个方法和没有列出的 addTagAnd 一共四个,只适用一个便可满足大多数的场景需求
->addAlias($pushData['toId']) ->addAllAudience($pushData['toId'])
->addTag(array($pushData['toId'], 'tag2')) // ->addTag(array($pushData['toId']))
->addRegistrationId($pushData['toId']) //->addRegistrationId($pushData['toId'])
->setNotificationAlert($title) ->setNotificationAlert($title)
->iosNotification($messageContent, array( ->iosNotification($messageContent, array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment