Commit 78b1b2a0 authored by hujun's avatar hujun

app查询经纪人增加站点id

parent be5b931c
......@@ -258,6 +258,10 @@ class Broker extends Basic
$where .= ' AND level in (' . $this->params['level'] . ')';
}
if ($this->params['site_id']) {
$where .= ' AND site_id ='.$this->params['site_id'];
}
if ($where) {
$field = 'id,name,phone,img';
$data['data'] = $this->a_agents->getList($pageNo, $pageSize, 'id DESC', $field, '', $where);
......
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