master
ELF 5 years ago
parent 5a967ac345
commit ff6af3dbbc

@ -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();

Loading…
Cancel
Save