diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index c4cb44c95..bd49d7530 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -1891,7 +1891,7 @@ class QueryController extends BaseController $gameId = I('game_id', 0); $serverId = I('server_id', 0); $parentId = I('parent_id', 0); - + $loginPromote = $this->getLoginPromote(); $promote = null; @@ -1900,6 +1900,8 @@ class QueryController extends BaseController } else { $promote = $loginPromote; } + + $games = $this->getGamesByPromote($promote); $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; } + $this->assign('games', $games); $this->assign('level', $level); $this->assign('subPromotes', $subPromotes); $this->assign('records', $records); diff --git a/Application/Home/View/default/Query/achievement.html b/Application/Home/View/default/Query/achievement.html index c85b258e3..82c62f7cc 100644 --- a/Application/Home/View/default/Query/achievement.html +++ b/Application/Home/View/default/Query/achievement.html @@ -23,7 +23,7 @@