From 74ff06d5495f56fc8618da7e2b1a1294e461e431 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Fri, 29 Nov 2019 14:34:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5=E6=8A=98?= =?UTF-8?q?=E7=8E=B0=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/IndexChartSetController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/IndexChartSetController.class.php b/Application/Admin/Controller/IndexChartSetController.class.php index a0b01de8b..d6371075d 100644 --- a/Application/Admin/Controller/IndexChartSetController.class.php +++ b/Application/Admin/Controller/IndexChartSetController.class.php @@ -280,7 +280,7 @@ class IndexChartSetController extends AdminController { $allcount['promote_user_count'] = $user->where("promote_id > 0 and puid = 0")->field("count(1) user_count")->find()['user_count'];//推广员注册用户 $allcount['promote_spend_sum'] = $spend->where("promote_id > 0 and pay_status = 1")->field("sum(pay_amount) pay_amount")->find()['pay_amount'];//推广员总充值 - $this->adddata["all_count"] = serialize($allcount); + $this->adddata["all_count"] = json_encode($allcount); } public function createDb() {