Commit 330b620c authored by zhuwei's avatar zhuwei

客户列表 默认显示经纪人所在站点的客户

parent 848a314d
......@@ -168,8 +168,8 @@ class User extends Basic
$time_now = date('Y-m-d H:i:s');//当前时间
//protect_time 将截止日期大于当前时间的数据排除掉
$conditions['protect_time'] = array('lt',$time_now);
$conditions['site_ids'] = [ 'LIKE', '%' . $this->siteId . '%' ];//默认显示经纪人所在站点的客户
}
}
}
//dump($app_request_source_type);exit;
......
......@@ -111,6 +111,8 @@ class Member extends Basic{
$time_now = date('Y-m-d H:i:s');//当前时间
//protect_time 将截止日期大于当前时间的数据排除掉
$where['a.protect_time'] = array('lt',$time_now);
$where['a.site_ids'] = [ 'LIKE', '%' . $this->siteId . '%' ];//默认显示经纪人所在站点的客户
}
}
......
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