From cfc22c30d3577e80826facf9a37301fb371b2c61 Mon Sep 17 00:00:00 2001 From: hdm Date: Wed, 7 Sep 2022 23:06:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=90=9C=E7=B4=A2bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/customer/controller/Index.php | 15 +++++++++++++++ app/customer/view/index/index.html | 1 + 2 files changed, 16 insertions(+) diff --git a/app/customer/controller/Index.php b/app/customer/controller/Index.php index 6827494..a442b0f 100644 --- a/app/customer/controller/Index.php +++ b/app/customer/controller/Index.php @@ -30,6 +30,15 @@ class Index extends BaseController } if (!empty($param['status'])) { $where[] = ['a.status', '=', $param['status']]; + } + if (!empty($param['grade_id'])) { + $where[] = ['a.grade_id', '=', $param['grade_id']]; + } + if (!empty($param['source_id'])) { + $where[] = ['a.source_id', '=', $param['source_id']]; + } + if (!empty($param['type'])) { + $where[] = ['a.intent_status', '=', $param['type']]; } $where[] = ['a.delete_time', '=', 0]; @@ -123,6 +132,12 @@ class Index extends BaseController } if (!empty($param['status'])) { $where[] = ['a.status', '=', $param['status']]; + } + if (!empty($param['industry_id'])) { + $where[] = ['a.industry_id', '=', $param['industry_id']]; + } + if (!empty($param['source_id'])) { + $where[] = ['a.source_id', '=', $param['source_id']]; } $where[] = ['a.delete_time', '=', 0]; $where[] = ['a.belong_uid', '=', 0]; diff --git a/app/customer/view/index/index.html b/app/customer/view/index/index.html index 838e69f..aeee98c 100644 --- a/app/customer/view/index/index.html +++ b/app/customer/view/index/index.html @@ -45,6 +45,7 @@ +