From 30c40d004b8ac0fca2dcf5a2833a5abbe1bd45c9 Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Thu, 16 Jan 2020 18:10:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E5=91=98=E6=8C=87=E6=A0=87?= =?UTF-8?q?=E7=AE=A1=E7=90=86--=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/QueryController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index da0bac1ea..c7777c09b 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -2374,13 +2374,13 @@ class QueryController extends BaseController if (!isset($map['game_id'])) { $sdkVersionText = getSDKTypeName($map['sdk_version'], true); } elseif (!isset($map['sdk_version'])) { - $where['game_id'] = $map['game_id']; + $where['id'] = $map['game_id']; $gameName = M('game', 'tab_')->where($where)->getField('relation_game_name'); if (isset($map['server_id'])) { $serverName = $this->getServerName($map['game_id'], 0, $map['server_id']); } } else { - $where['game_id'] = $map['game_id']; + $where['id'] = $map['game_id']; $where['sdk_version'] = $map['sdk_version']; $gameName = M('game', 'tab_')->where($where)->getField('game_name'); $sdkVersionText = getSDKTypeName($map['sdk_version'], true);