Commit 1e9abf31 by 冷斌

fix bug

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