@ -24,7 +24,7 @@ class UserService
$deviceNum = $params['unique_code'] ?? '';
$clientIp = get_client_ip();
$game = M('game', 'tab_')->where(['game_id' => $gameId])->find();
$game = M('game', 'tab_')->where(['id' => $gameId])->find();
$result = $this->doLogin($account, $password, $game, ['client_ip' => $clientIp, 'device_num' => $deviceNum]);
if (!$result['status']) {
$this->resetLoginLimit();