diff --git a/Application/Base/Service/UserService.class.php b/Application/Base/Service/UserService.class.php index 4908ecf8..5bada77b 100644 --- a/Application/Base/Service/UserService.class.php +++ b/Application/Base/Service/UserService.class.php @@ -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();