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