From e49a2af6578f42b9d01bd6ed0656b814f37dc886 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Mon, 27 Apr 2020 18:26:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/UserService.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Base/Service/UserService.class.php b/Application/Base/Service/UserService.class.php index b36effdf..497e315f 100644 --- a/Application/Base/Service/UserService.class.php +++ b/Application/Base/Service/UserService.class.php @@ -337,11 +337,11 @@ class UserService $userPlay = M('user_play', 'tab_')->where($map)->find(); if (empty($userPlay)) { $data = []; - $data['user_id'] = $user['user_id']; + $data['user_id'] = $user['id']; $data['user_account'] = $user['account']; $data['user_nickname'] = $user['nickname']; - $data['game_id'] = $user['game_id']; - $data['game_appid'] = $user['game_appid']; + $data['game_id'] = $game['id']; + $data['game_appid'] = $game['game_appid']; $data['game_name'] = $game['game_name']; $data['server_id'] = 0; $data['server_name'] = '';