From ba2c2ee5e7886e80a1058ee9a91ea825214a5f96 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 30 Jul 2019 20:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=A2=E6=9C=8D=E9=82=AE?= =?UTF-8?q?=E4=BB=B6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/controller/KefuController.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; }