Commit e7016bc0 authored by hujun's avatar hujun

商圈

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