|
|
@ -83,6 +83,7 @@ class GameController extends BaseController
|
|
|
|
|
|
|
|
|
|
|
|
$conditions['server_type'] = $serverType;
|
|
|
|
$conditions['server_type'] = $serverType;
|
|
|
|
$conditions['id'] = ['in', $gameIds];
|
|
|
|
$conditions['id'] = ['in', $gameIds];
|
|
|
|
|
|
|
|
$conditions['game_status'] = 1;
|
|
|
|
$query = M('game', 'tab_')->field($columns)->where($conditions)->order('relation_game_id desc');
|
|
|
|
$query = M('game', 'tab_')->field($columns)->where($conditions)->order('relation_game_id desc');
|
|
|
|
list($games, $pagination, $count) = $this->paginate($query);
|
|
|
|
list($games, $pagination, $count) = $this->paginate($query);
|
|
|
|
|
|
|
|
|
|
|
|