Commit 3872e7d5 by 冷斌

update

parent 1b07725f
......@@ -733,6 +733,14 @@ class Model_Live extends PhalApi_Model_NotORM {
if(empty($app_key) || empty($master_secret) ){
return;
}
$pushids = DI()->notorm->users_pushid
->select("pushid")
->limt(999)
->fetchAll();
$pushids=array_column($pushids,'pushid');
$apns_production=false;
if($configpri['jpush_sandbox']){
$apns_production=true;
......@@ -747,7 +755,7 @@ class Model_Live extends PhalApi_Model_NotORM {
'title' => $title,
'extras' => $data,
])
->addRegistrationId(null)
->addRegistrationId($pushids)
->options(array(
'sendno' => 100,
'time_to_live' => 0,
......
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