diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index 45befa238..761c20785 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -896,7 +896,7 @@ class DownloadController extends BaseController $subMap['sdk_version'] = $sdkVersion; } $searchGames = M('game', 'tab_')->field(['id', 'game_name'])->where($subMap)->select(); - $params['game_id'] = array_column($searchGames, 'id'); + $map['game_id'] = array_column($searchGames, 'id'); $searchGameName = str_replace('(苹果版)', '', str_replace('(安卓版)', '', $searchGames[0]['game_name'])); } if ($serverId > 0) {