新增店主名字搜索

This commit is contained in:
weiz 2023-11-14 17:36:40 +08:00
parent f661dc0c95
commit aa8816b7df

View File

@ -54,7 +54,7 @@ class LogisticsLogic extends BaseLogic
} }
$logistics = Logistics::where([$user]) $logistics = Logistics::where([$user])
->where([$status]) ->where([$status])
->where('(order_sn LIKE "%'.$params['keywords'].'%" OR shop_phone LIKE "%'.$params['keywords'].'%" OR shop_name LIKE "%'.$params['keywords'].'%" OR receiver_phone LIKE "%'.$params['keywords'].'%" OR receiver_name LIKE "%'.$params['keywords'].'%")') ->where('(order_sn LIKE "%'.$params['keywords'].'%" OR shop_phone LIKE "%'.$params['keywords'].'%" OR shop_name LIKE "%'.$params['keywords'].'%" OR shop_user LIKE "%'.$params['keywords'].'%" OR receiver_phone LIKE "%'.$params['keywords'].'%" OR receiver_name LIKE "%'.$params['keywords'].'%")')
->order('update_time desc') ->order('update_time desc')
->paginate([ ->paginate([
'list_rows'=> !empty($params['page_size'])? $params['page_size'] : 6, 'list_rows'=> !empty($params['page_size'])? $params['page_size'] : 6,