Commit 02591cb9 authored by hujun's avatar hujun

商铺列表增加商圈搜索

parent c4787c26
...@@ -395,6 +395,10 @@ class Houses extends Basic ...@@ -395,6 +395,10 @@ class Houses extends Basic
} }
} }
if (!empty($this->params['business_id'])) {
$where['business_id'] = $this->params['business_id'];
}
$data['data']['list'] = $this->house->getHouseListDish($pageNo, $pageSize, 'id DESC', $fields, $where, $this->userId); $data['data']['list'] = $this->house->getHouseListDish($pageNo, $pageSize, 'id DESC', $fields, $where, $this->userId);
$data['data']['total'] = $this->house->getHouseListDishTotal($where); $data['data']['total'] = $this->house->getHouseListDishTotal($where);
......
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