From 8bea436dee349f489e04daa07f781156cfb39489 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Mon, 14 Oct 2019 18:32:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/QueryController.class.php | 5 +++++ Application/Home/View/default/Public/promote_base.html | 2 +- Application/Home/View/default/Query/arpu.html | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) 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 @@
- +
-