@ -32,7 +32,7 @@ class UserService
}
$user = $result['data']['user'];
$noticeCount = $this->getNoticeCount();
$noticeCount = $this->getNoticeCount($user);
$this->addUserPlay($user, $game, $clientIp);
$response = [
@ -343,7 +343,7 @@ class UserService
protected function getNoticeCount()
protected function getNoticeCount($user)
{
$noticeCount = 0;
$time = time();