From b42d7d3480005c64ec92ae0f9d9adfe13a8d9942 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Mon, 6 Nov 2023 10:23:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=85=AC=E5=85=B1=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/HomeIndex.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/api/controller/HomeIndex.php b/app/api/controller/HomeIndex.php index 829f9e5..ccf35bf 100644 --- a/app/api/controller/HomeIndex.php +++ b/app/api/controller/HomeIndex.php @@ -84,11 +84,11 @@ class HomeIndex extends ApiController $query->whereOr($whereCustomerOr); }) ->count(); - $total[] = array( - 'name' => '客户', - 'type' => 'customer', - 'num' => $customerCount, - ); + // $total[] = array( + // 'name' => '客户', + // 'type' => 'customer', + // 'num' => $customerCount, + // ); } if (in_array('contract', $module)) { $whereContract = array(); @@ -110,11 +110,11 @@ class HomeIndex extends ApiController $query->whereOr($whereContractOr); }) ->count(); - $total[] = array( - 'name' => '合同', - 'type' => 'contract', - 'num' => $contractCount, - ); + // $total[] = array( + // 'name' => '合同', + // 'type' => 'contract', + // 'num' => $contractCount, + // ); } if (in_array('project', $module)) { $project_ids = Db::name('ProjectUser')->where(['uid' => $this->uid, 'delete_time' => 0])->column('project_id');