Commit 0f6f53b8 authored by zhuwei's avatar zhuwei

客户搜索--加性别

parent 6d7fd5e7
...@@ -170,7 +170,7 @@ class Broker extends Basic ...@@ -170,7 +170,7 @@ class Broker extends Basic
->limit($pagesize) ->limit($pagesize)
->page($pagenum) ->page($pagenum)
->field('id as user_id,user_nick,user_phone') ->field('id as user_id,sex,user_nick,user_phone')
->select(); ->select();
$total =$user ->where('user_nick|user_phone','like',"%$phone_or_name%") $total =$user ->where('user_nick|user_phone','like',"%$phone_or_name%")
->where('create_time','< time',$Two_days_ago) ->where('create_time','< time',$Two_days_ago)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment