|
|
@ -1891,7 +1891,7 @@ class QueryController extends BaseController
|
|
|
|
$gameId = I('game_id', 0);
|
|
|
|
$gameId = I('game_id', 0);
|
|
|
|
$serverId = I('server_id', 0);
|
|
|
|
$serverId = I('server_id', 0);
|
|
|
|
$parentId = I('parent_id', 0);
|
|
|
|
$parentId = I('parent_id', 0);
|
|
|
|
|
|
|
|
|
|
|
|
$loginPromote = $this->getLoginPromote();
|
|
|
|
$loginPromote = $this->getLoginPromote();
|
|
|
|
|
|
|
|
|
|
|
|
$promote = null;
|
|
|
|
$promote = null;
|
|
|
@ -1900,6 +1900,8 @@ class QueryController extends BaseController
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$promote = $loginPromote;
|
|
|
|
$promote = $loginPromote;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$games = $this->getGamesByPromote($promote);
|
|
|
|
|
|
|
|
|
|
|
|
$subPromotes = M('promote', 'tab_')->field(['id', 'account', 'real_name'])->where(['parent_id' => $promote['id']])->select();
|
|
|
|
$subPromotes = M('promote', 'tab_')->field(['id', 'account', 'real_name'])->where(['parent_id' => $promote['id']])->select();
|
|
|
|
|
|
|
|
|
|
|
@ -1976,6 +1978,7 @@ class QueryController extends BaseController
|
|
|
|
$level = 3;
|
|
|
|
$level = 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->assign('games', $games);
|
|
|
|
$this->assign('level', $level);
|
|
|
|
$this->assign('level', $level);
|
|
|
|
$this->assign('subPromotes', $subPromotes);
|
|
|
|
$this->assign('subPromotes', $subPromotes);
|
|
|
|
$this->assign('records', $records);
|
|
|
|
$this->assign('records', $records);
|
|
|
|