增加时区设置

This commit is contained in:
aozhiwei 2019-01-29 15:21:38 +08:00
parent 68b1bc68e5
commit 6f5d4c1e28

View File

@ -277,6 +277,7 @@ class KefuController {
array(
':accountid' => $accountid,
));
date_default_timezone_set('Asia/Shanghai');
if ($row && date("y-m-d", time()) == date("y-m-d", $row['awardtime'])) {
$this->sendKefuMsg($accountid, array (
"touser" => $openid,