|
|
|
@ -91,6 +91,8 @@ class AjaxController extends ThinkController{
|
|
|
|
|
$map = [];
|
|
|
|
|
if ($game) {
|
|
|
|
|
$map['game_id'] = ['in', $game];
|
|
|
|
|
} else {
|
|
|
|
|
$map['game_id'] = ['in', [-1]];
|
|
|
|
|
}
|
|
|
|
|
$data = M('Server', 'tab_')->field('id, server_name, server_id')->where($map)->group('server_name')->select();
|
|
|
|
|
$this->AjaxReturn($data);
|
|
|
|
|