Commit fb3dddd7 authored by hujun's avatar hujun

修改盘方查询

parent 5a96b5ca
......@@ -200,7 +200,6 @@ class Broker extends Basic
$data['data'] = '';
$data['msg'] = '';
if ($this->params['houses_id']) {
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
$pageSize = empty($this->params['pageSize']) ? 10 : $this->params['pageSize'];
$fields = 'b.id,b.name,b.phone';
......@@ -221,10 +220,7 @@ class Broker extends Basic
$m_house = new GHousesToAgents();
$data['data'] = $m_house->getAgentsHousesList($pageNo, $pageSize, 'id DESC', $fields, $where);
} else {
$data['status'] = 101;
$data['msg'] = 'houses_id is null';
}
return $this->response($data['status'], $data['msg'], $data['data']);
}
......
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