From 2e0a8d2ad08a7f83f7110c8ee2e65600ca344c0a Mon Sep 17 00:00:00 2001 From: yulingwei <2436953959@qq.com> Date: Mon, 18 Nov 2019 11:02:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=9F=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/StatisticsController.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Application/Admin/Controller/StatisticsController.class.php b/Application/Admin/Controller/StatisticsController.class.php index 3b4b3f85e..4dd30404b 100644 --- a/Application/Admin/Controller/StatisticsController.class.php +++ b/Application/Admin/Controller/StatisticsController.class.php @@ -48,10 +48,10 @@ class StatisticsController extends ThinkController { $this->assign('pay',$list_data['pay']); $this->assign('game_chart',$list_data['chart']); - $this->assign('promotereg',$promote_data['reg']); - $this->assign('promoteactive',$promote_data['active']); - $this->assign('promotepay',$promote_data['pay']); - $this->assign('promote_chart',$promote_data['chart']); + $this->assign('promotereg',array_slice($promote_data['reg'], 0, 10)); + $this->assign('promoteactive',array_slice($promote_data['active'], 0, 10)); + $this->assign('promotepay',array_slice($promote_data['pay'], 0, 10)); + $this->assign('promote_chart', $promote_data['chart']); // 日历