Commit 342ce2a4 authored by hujun's avatar hujun

site_id

parent d25eaa98
...@@ -112,6 +112,10 @@ class Broker extends Basic ...@@ -112,6 +112,10 @@ class Broker extends Basic
$where['district_id'] = $this->params['district_id']; $where['district_id'] = $this->params['district_id'];
} }
if (!empty($this->params['site_id'])) {
$where['site_id'] = $this->params['site_id'];
}
if ($this->userId != 1) { if ($this->userId != 1) {
// $group_site = new AuthGroupSite(); // $group_site = new AuthGroupSite();
// $agent_model = new AAgents(); // $agent_model = new AAgents();
......
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