master
ELF 4 years ago
parent a3d3b5722c
commit 91996da3a2

@ -896,7 +896,7 @@ class DownloadController extends BaseController
$subMap['sdk_version'] = $sdkVersion; $subMap['sdk_version'] = $sdkVersion;
} }
$searchGames = M('game', 'tab_')->field(['id', 'game_name'])->where($subMap)->select(); $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'])); $searchGameName = str_replace('(苹果版)', '', str_replace('(安卓版)', '', $searchGames[0]['game_name']));
} }
if ($serverId > 0) { if ($serverId > 0) {

Loading…
Cancel
Save