diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index 59a8a44dd..b8779c9dd 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -665,6 +665,9 @@ class QueryController extends BaseController 'grand_id' => $promote['id'], ]; $ids = M('promote', 'tab_')->where($map)->getField('id', true); + + $subPromotes = M('promote', 'tab_')->field(['id', 'account', 'real_name'])->where(['parent_id' => $promote['id']])->select(); + $games = $this->getGamesByPromote($promote); $params = []; if ($gameId > 0) { @@ -718,6 +721,8 @@ class QueryController extends BaseController } else { $timeout = 1; } + $this->assign('games', $games); + $this->assign('subPromotes', $subPromotes); $this->assign('timeout', $timeout); $this->assign('records', $records); $this->display(); diff --git a/Application/Home/View/default/Public/promote_base.html b/Application/Home/View/default/Public/promote_base.html index 93dc6e8e3..c96dc462d 100644 --- a/Application/Home/View/default/Public/promote_base.html +++ b/Application/Home/View/default/Public/promote_base.html @@ -53,7 +53,7 @@ 数据汇总 充值明细 注册明细 - ARPU统计 + ARPU统计 角色查询 充值玩家 diff --git a/Application/Home/View/default/Query/arpu.html b/Application/Home/View/default/Query/arpu.html index 0c7d62e0a..a19fb5268 100644 --- a/Application/Home/View/default/Query/arpu.html +++ b/Application/Home/View/default/Query/arpu.html @@ -117,7 +117,7 @@
-
@@ -137,7 +137,7 @@
- @@ -145,9 +145,9 @@
- +
-