diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index aba1440..07e4a95 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -87,8 +87,8 @@ class KefuController { 'to' => $accountid, 'game_id' => phpcommon\extractGameId($accountid), 'from' => '客服', - 'mail_type' => -1, - 'mail_subtype' => -1, + 'mail_type' => 1, + 'mail_subtype' => 0, 'subject' => '领奖', 'content' => '领取奖励', 'sendtime' => time(), @@ -169,6 +169,7 @@ class KefuController { public function notifyAllUser() { + error_log('notifyAllUser'); set_time_limit(1800); $media_conf = array(); $dbconfs = require('../config/kefu.mysql.cluster.php');; @@ -222,7 +223,7 @@ class KefuController { return; } $ret_info = json_decode($response, true); - //error_log(json_encode($response)); + error_log(json_encode($response)); return !empty($ret_info) && $ret_info['errcode'] == 0; }