求助一个定时推送的问题 服务端是PHP
我服务端新写一个定时推送,但是IOS端生产环境收不到信息。安卓和IOS开发环境都能收到。但是setPlatform里的参数我用的ALL啊 求大神解答
$time = date('Y-m-d 10:21:00', time());
Vendor('JPush.JPush');
$client = new \JPush( $app_key , $master_secret );
$payload = $client->push()
->setPlatform('all')
->addAllAudience()
->setNotificationAlert("123123")
->build();
$response = $client->schedule()->createSingleSchedule("每天0点发送的有偿消息", $payload, array("time"=>$time));