修改bug

master
ELF 5 years ago
parent beae17d518
commit e05844ca5d

@ -58,9 +58,14 @@ class GameController extends BaseController
$gameIds[] = $baseGame['ios_game_id'];
}
}
$conditions = [];
if ($isMine) {
$applyGameIds = M('apply', 'tab_')->where(['offline_status' => 0, 'promote_id' => $promoteId])->getField('game_id', true);
$gameIds = array_intersect($applyGameIds, $gameIds);
if (count($gameIds) == 0) {
$gameIds = [0];
}
}
$columns = ['id', 'icon', 'game_name', 'features', 'sdk_version', 'game_size', 'game_type_name'];

Loading…
Cancel
Save