Commit aed0c5bf authored by hujun's avatar hujun

同步代码

parent 951c8ea0
......@@ -106,7 +106,6 @@ class Client extends Basic
}
/**app 经纪人用户列表
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
......@@ -136,7 +135,7 @@ class Client extends Basic
'create_time',
"TIMESTAMPDIFF(MINUTE,create_time,'{$time}')as time_minute_diff"];
$where=" ( agent_id in({$params['agent_id']})
$where=" ( agent_id in(0,{$params['agent_id']})
or TIMESTAMPDIFF(MINUTE,create_time,'{$time}') > 2880 )";
if(!empty($search)){
$where.=" and user_nick like '%$search%' or user_phone like '%$search%' ";
......
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