Commit 1e9abf31 by 冷斌

fix bug

parent 6962dcdf
......@@ -757,7 +757,6 @@ class Model_Live extends PhalApi_Model_NotORM {
/* 极光推送 */
$app_key = $configpri['jpush_key'];
$master_secret = $configpri['jpush_secret'];
var_dump(2);
if(empty($app_key) || empty($master_secret) ){
return;
}
......@@ -766,8 +765,6 @@ class Model_Live extends PhalApi_Model_NotORM {
// ->limit(999)
->fetchAll();
$pushids=array_column($pushids,'pushid');
var_dump($pushids);
$apns_production=false;
if($configpri['jpush_sandbox']){
......@@ -807,8 +804,6 @@ class Model_Live extends PhalApi_Model_NotORM {
'apns_production' => $apns_production,
))
->send();
var_dump($stauts);
die;
}catch (\Exception $exception) {
var_dump($exception->getMessage());
die;
......
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