From 86f9baffac488e492c627636d73bb38dd2104200 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Fri, 27 Aug 2021 19:45:23 +0800 Subject: [PATCH] city_code --- admin/controllers/receiver/Customer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/controllers/receiver/Customer.php b/admin/controllers/receiver/Customer.php index 9f7f1916..4ee65a04 100644 --- a/admin/controllers/receiver/Customer.php +++ b/admin/controllers/receiver/Customer.php @@ -36,6 +36,8 @@ class Customer extends HD_Controller $params = $this->input->get(); !$params['city_id'] && $params['city_id'] = ''; !$params['county_id'] && $params['county_id'] = ''; + !$params['city_id'] && $params['city_id'] = ''; + !$params['county_id'] && $params['county_id'] = ''; !$params['biz_id'] && $params['biz_id'] = ''; !$params['cf_title'] && $params['cf_title'] = ''; @@ -59,6 +61,8 @@ class Customer extends HD_Controller } } strlen($params['status']) && $where["status"] = $params['status']; + $params['city_id'] && $where['city_id'] = $params['city_id']; + $params['county_id'] && $where['county_id'] = $params['county_id']; $params['biz_id'] && $where['biz_id'] = $params['biz_id']; $params['cf_title'] && $where['cf_title'] = $params['cf_title'];