1
This commit is contained in:
parent
d1bbfce14e
commit
e3ac11694b
@ -48,7 +48,7 @@ class KefuController {
|
|||||||
$url .= $gameid . '/' . $condition;
|
$url .= $gameid . '/' . $condition;
|
||||||
$response = '';
|
$response = '';
|
||||||
$params = array();
|
$params = array();
|
||||||
if (!phpcommon\HttpClient::get($url, $params ,$response)) {
|
if (!phpcommon\HttpClient::get($url, $params, $response)) {
|
||||||
die();
|
die();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -87,8 +87,8 @@ class KefuController {
|
|||||||
'to' => $accountid,
|
'to' => $accountid,
|
||||||
'game_id' => phpcommon\extractGameId($accountid),
|
'game_id' => phpcommon\extractGameId($accountid),
|
||||||
'from' => '客服',
|
'from' => '客服',
|
||||||
'mail_type' => '-1',
|
'mail_type' => -1,
|
||||||
'mail_subtype' => '-1',
|
'mail_subtype' => -1,
|
||||||
'subject' => '领奖',
|
'subject' => '领奖',
|
||||||
'content' => '领取奖励',
|
'content' => '领取奖励',
|
||||||
'sendtime' => time(),
|
'sendtime' => time(),
|
||||||
@ -231,7 +231,9 @@ class KefuController {
|
|||||||
array(
|
array(
|
||||||
':last_idx' => $last_idx,
|
':last_idx' => $last_idx,
|
||||||
));
|
));
|
||||||
if ($rows) {
|
if (!$rows || count($rows) <= 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
if (isset($share_conf[$row['gameid']])) {
|
if (isset($share_conf[$row['gameid']])) {
|
||||||
$game_conf = $share_conf[$row['gameid']];
|
$game_conf = $share_conf[$row['gameid']];
|
||||||
@ -253,7 +255,6 @@ class KefuController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private function processText($msg, $accountid)
|
private function processText($msg, $accountid)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user