From 9a110d43abcdfa5589611ceb43813bb7ce547edf Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Fri, 11 Aug 2023 14:33:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=8B=E6=9C=BA=E5=8F=B7?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LogisticsLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/LogisticsLogic.php b/app/api/logic/LogisticsLogic.php index 47235ee8..c5e7cff6 100644 --- a/app/api/logic/LogisticsLogic.php +++ b/app/api/logic/LogisticsLogic.php @@ -43,7 +43,7 @@ class LogisticsLogic extends BaseLogic } $logistics = Logistics::where('courier_id', $params['courier_id']) ->where([$status]) - ->where('(order_sn LIKE "%'.$params['keywords'].'%" OR shop_phone LIKE "'.$params['keywords'].'%" OR shop_name LIKE "%'.$params['keywords'].'%" OR user_phone LIKE "'.$params['keywords'].'%" OR user_name LIKE "%'.$params['keywords'].'%")') + ->where('(order_sn LIKE "%'.$params['keywords'].'%" OR shop_phone LIKE "%'.$params['keywords'].'%" OR shop_name LIKE "%'.$params['keywords'].'%" OR user_phone LIKE "%'.$params['keywords'].'%" OR user_name LIKE "%'.$params['keywords'].'%")') ->order('update_time desc') ->paginate([ 'list_rows'=> !empty($params['page_size'])? $params['page_size'] : 6,