This commit is contained in:
aozhiwei 2019-07-29 15:57:33 +08:00
parent d1bbfce14e
commit e3ac11694b

View File

@ -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' => -1,
'subject' => '领奖',
'content' => '领取奖励',
'sendtime' => time(),
@ -231,7 +231,9 @@ class KefuController {
array(
':last_idx' => $last_idx,
));
if ($rows) {
if (!$rows || count($rows) <= 0) {
break;
}
foreach ($rows as $row) {
if (isset($share_conf[$row['gameid']])) {
$game_conf = $share_conf[$row['gameid']];
@ -253,7 +255,6 @@ class KefuController {
}
}
}
}
private function processText($msg, $accountid)
{