Commit af8d1646 authored by hujun's avatar hujun

商圈列表城市判断

parent 551488d0
...@@ -150,10 +150,8 @@ class BusinessDistrict extends Basic ...@@ -150,10 +150,8 @@ class BusinessDistrict extends Basic
$where['province'] = $this->params['province']; $where['province'] = $this->params['province'];
} }
if (!empty($this->params['city'])) { if (!empty($this->params['city']) && $this->userId != 1) {
// $where['city'] = '上海市'; $where['city'] = $this->userId;
// } else {
$where['city'] = $this->params['city'];
} }
if (!empty($this->params['disc'])) { if (!empty($this->params['disc'])) {
......
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