Commit 5b2f6e96 authored by hujun's avatar hujun

商铺

parent bf0a0ee7
...@@ -227,13 +227,8 @@ class Houses extends Basic ...@@ -227,13 +227,8 @@ class Houses extends Basic
$where['shop_type'] = $this->params['shop_type']; $where['shop_type'] = $this->params['shop_type'];
} }
/*所在城市*/ if ($this->userId != 1) {
// if (!empty($this->params['city'])) { $where['city'] = $this->city;
// $where['city'] = $this->params['city'];
// }
if ($this->city != '全部') {
$where['city'] = $this->params['city'];
} }
/*所在区*/ /*所在区*/
...@@ -385,14 +380,6 @@ class Houses extends Basic ...@@ -385,14 +380,6 @@ class Houses extends Basic
} }
} }
if ($this->params['city'] != NULL) {
$where['city'] = $this->params['city'];
}
if ($this->params['disc'] != NULL) {
$where['disc'] = $this->params['disc'];
}
if (!empty($this->params['area'])) { if (!empty($this->params['area'])) {
switch ($this->params['area']) { switch ($this->params['area']) {
case 1: case 1:
......
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