PHP JPUSH 设置RegistrationID实现精确推送通知 怎么搞

719540388
2019-10-08 07:54 111 0

$client = new JPush\Client($app_key, $master_secret);
$result = $client->push()
->setPlatform('all')
->addAllAudience()
//->addRegistrationId($redId)
->setNotificationAlert($content)
->send();

addRegistrationId($redId);这样赋RegistrationID报错

1个回答

热门排序