Commit c3f91616 authored by hujun's avatar hujun

同步代码

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