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');