极光推送IOS正式版本别名推送怎么推送不了
$client = new \JPush\Client("111111111111", "11111111111111111");
$result = $client->push()
->setPlatform('all')
->addAlias($alias)
->addTag(array('yueshao'))
->androidNotification($content, [
'extras' => [
'type' => "order_info",
'order_number'=>$order_number
]
])
->iosNotification($content, [
'sound' => 'sound',
'badge' => '0',
'extras' => [
'type' => "order_info",
'order_number'=>$order_number
]])
->options(array(
"apns_production" => true //true表示发送到生产环境(默认值),false为开发环境
))
->send();