增加手机号搜索
This commit is contained in:
parent
ea0456fc66
commit
9a110d43ab
@ -43,7 +43,7 @@ class LogisticsLogic extends BaseLogic
|
|||||||
}
|
}
|
||||||
$logistics = Logistics::where('courier_id', $params['courier_id'])
|
$logistics = Logistics::where('courier_id', $params['courier_id'])
|
||||||
->where([$status])
|
->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')
|
->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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user