修复客服邮件问题
This commit is contained in:
parent
07dfe97984
commit
ba2c2ee5e7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user