Commit f8a150db authored by clone's avatar clone

1

parent 2c851cc8
...@@ -102,6 +102,10 @@ class OfficeRoomApiService ...@@ -102,6 +102,10 @@ class OfficeRoomApiService
$ids = $this->getBuildingByStations($params['stations_ids']); $ids = $this->getBuildingByStations($params['stations_ids']);
if ($ids) { if ($ids) {
$where['b.id'] = array("in", $ids); //地铁 $where['b.id'] = array("in", $ids); //地铁
}else{
$result['status'] = 'successful';
$result['msg'] = "request null";
return $result;
} }
} }
$where['a.status'] = 1; //状态 1上架 2下架 只显示上架 $where['a.status'] = 1; //状态 1上架 2下架 只显示上架
......
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