From c94a5705edaa0512b36333a94b4eea4409d97634 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Fri, 27 Aug 2021 19:13:23 +0800 Subject: [PATCH] cf_title --- admin/controllers/receiver/Customer.php | 2 ++ admin/views/receiver/customer/lists.php | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/admin/controllers/receiver/Customer.php b/admin/controllers/receiver/Customer.php index d4fffc19..9f7f1916 100644 --- a/admin/controllers/receiver/Customer.php +++ b/admin/controllers/receiver/Customer.php @@ -37,6 +37,7 @@ class Customer extends HD_Controller !$params['city_id'] && $params['city_id'] = ''; !$params['county_id'] && $params['county_id'] = ''; !$params['biz_id'] && $params['biz_id'] = ''; + !$params['cf_title'] && $params['cf_title'] = ''; $page = $params['page'] = $params['page'] ? intval($params['page']) : 1; $size = $params['size'] = $params['size'] ? intval($params['size']) : 20; @@ -59,6 +60,7 @@ class Customer extends HD_Controller } strlen($params['status']) && $where["status"] = $params['status']; $params['biz_id'] && $where['biz_id'] = $params['biz_id']; + $params['cf_title'] && $where['cf_title'] = $params['cf_title']; $count = $this->customers_model->count($where); $lists = []; diff --git a/admin/views/receiver/customer/lists.php b/admin/views/receiver/customer/lists.php index f5396720..907e70e2 100644 --- a/admin/views/receiver/customer/lists.php +++ b/admin/views/receiver/customer/lists.php @@ -62,6 +62,17 @@ +
+ +
+ +
+
+