From 942fdb40ca7f34a69b6ffdaa3e9a675c030ecd19 Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Sat, 10 Sep 2022 23:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E4=BB=BB=E5=8A=A1=E6=80=BB?= =?UTF-8?q?=E6=95=B0=E5=A2=9E=E5=8A=A0=E6=A0=87=E7=AD=BE=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Task.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controller/Task.php b/app/controller/Task.php index 6b63b02..7174211 100644 --- a/app/controller/Task.php +++ b/app/controller/Task.php @@ -476,6 +476,9 @@ class Task extends BaseController if (isset($params['price2']) && $params['price2'] != '') { $where[] = ['car_info_t.purchase_price', '<=', $params['price2'] * 10000]; } + if (isset($params['tag']) && $params['tag'] != '') { + $where[] = ['car_info_t.tag', '=', $params['tag']]; + } if(isset($params['empty_phone_check']) && $params['empty_phone_check'] == 'yes'){ $where[] = ['car_phone', '<>', '']; }