Commit 3da3069f authored by hujun's avatar hujun

商铺列表

parent 845a0f10
...@@ -412,7 +412,9 @@ class Houses extends Basic ...@@ -412,7 +412,9 @@ class Houses extends Basic
$where['is_lock'] = $this->params['is_lock']; $where['is_lock'] = $this->params['is_lock'];
} }
if (!empty($this->params['city'])) { if (empty($this->params['city'])) {
$where['city'] = $this->city;
} else {
$service_broker = new BrokerService(); $service_broker = new BrokerService();
$check_data = $service_broker->checkSite($this->userId, $this->params['site_id']); $check_data = $service_broker->checkSite($this->userId, $this->params['site_id']);
if ($check_data) { if ($check_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