From 81161e9d4925eab25d8965fb7815d30d96deada3 Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Sat, 10 Sep 2022 23:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E6=A0=87=E7=AD=BE=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/service/CarInfoHandle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend/service/CarInfoHandle.php b/extend/service/CarInfoHandle.php index 8117017..686a1a9 100644 --- a/extend/service/CarInfoHandle.php +++ b/extend/service/CarInfoHandle.php @@ -51,8 +51,8 @@ class CarInfoHandle if (isset($data['price2']) && $data['price2'] != '') { $where[] = ['car_info_t.purchase_price', '<=', $data['price2'] * 10000]; } - if (isset($params['tag']) && $params['tag'] != '') { - $where[] = ['car_info_t.tag', '=', $params['tag']]; + if (isset($data['tag']) && $data['tag'] != '') { + $where[] = ['car_info_t.tag', '=', $data['tag']]; } if (isset($data['empty_phone_check']) && $data['empty_phone_check'] == 'yes') { $where[] = ['car_phone', '<>', ''];