master
ELF 5 years ago
parent 7b27a12a77
commit e8aa46709c

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

Loading…
Cancel
Save