添加进入判断
This commit is contained in:
parent
43ea109ead
commit
f4a1bceab2
@ -265,6 +265,14 @@ class KefuController {
|
||||
array(
|
||||
':accountid' => $accountid,
|
||||
));
|
||||
if (!$row) {
|
||||
$this->sendKefuMsg($accountid, array (
|
||||
"touser" => $openid,
|
||||
"msgtype" => "text",
|
||||
"text" => array ("content" => "请从游戏进入客服!")
|
||||
));
|
||||
return;
|
||||
}
|
||||
date_default_timezone_set('Asia/Shanghai');
|
||||
if ($row && date("y-m-d", time()) == date("y-m-d", $row['awardtime'])) {
|
||||
$this->sendKefuMsg($accountid, array (
|
||||
|
Loading…
x
Reference in New Issue
Block a user