Commit eb58b66f authored by zhuwei's avatar zhuwei

1

parent 8f8d8a4c
...@@ -281,8 +281,6 @@ class OfficeRoom extends Basic ...@@ -281,8 +281,6 @@ class OfficeRoom extends Basic
*/ */
public function getBuildingRoom() public function getBuildingRoom()
{ {
header('Access-Control-Allow-Origin:*');
$result = $this->service->getRoomBuildingList($this->params); $result = $this->service->getRoomBuildingList($this->params);
if ($result['status'] == 'successful') { if ($result['status'] == 'successful') {
...@@ -294,6 +292,23 @@ class OfficeRoom extends Basic ...@@ -294,6 +292,23 @@ class OfficeRoom extends Basic
return $this->response($this->code, $this->msg, $this->data); return $this->response($this->code, $this->msg, $this->data);
} }
/**
* 楼盘列表
* @return \think\Response
*/
public function getBuildingRoomH5()
{
header('Access-Control-Allow-Origin:*');
$result = $this->service->getRoomBuildingList($this->params);
if ($result['status'] == 'successful') {
$this->data = $result['data'];
} else {
$this->code = 101;
$this->msg = $result['msg'];
}
return $this->response($this->code, $this->msg, $this->data);
}
/** /**
* 约带看房源搜索 * 约带看房源搜索
......
...@@ -66,6 +66,7 @@ class Basic extends Controller ...@@ -66,6 +66,7 @@ class Basic extends Controller
"broker/moveHouseAgent", "broker/moveHouseAgent",
"broker/moveHouseSiteId", "broker/moveHouseSiteId",
"office/filtrateConditionRoom", "office/filtrateConditionRoom",
"office/getBuildingRoomH5",
); );
/** /**
......
...@@ -1073,6 +1073,7 @@ Route::group('office', [ ...@@ -1073,6 +1073,7 @@ Route::group('office', [
'addCollectHouse' => ['api_broker/OfficeCollectHouse/addCollectHouse', ['method' => 'POST|GET']], //收藏或取消收藏商铺 'addCollectHouse' => ['api_broker/OfficeCollectHouse/addCollectHouse', ['method' => 'POST|GET']], //收藏或取消收藏商铺
'getCollectHouseList' => ['api_broker/OfficeCollectHouse/getCollectHouseList', ['method' => 'POST|GET']], //查询收藏数据 'getCollectHouseList' => ['api_broker/OfficeCollectHouse/getCollectHouseList', ['method' => 'POST|GET']], //查询收藏数据
'getBuildingRoom' => ['api_broker/OfficeRoom/getBuildingRoom', ['method' => 'POST|GET']], //楼盘列表 'getBuildingRoom' => ['api_broker/OfficeRoom/getBuildingRoom', ['method' => 'POST|GET']], //楼盘列表
'getBuildingRoomH5' => ['api_broker/OfficeRoom/getBuildingRoomH5', ['method' => 'POST|GET']], //楼盘列表
'report' => ['api_broker/OfficeReport/report', ['method' => 'get|post']], //报备 'report' => ['api_broker/OfficeReport/report', ['method' => 'get|post']], //报备
'addFollowUp' => ['api_broker/OfficeReport/addFollowUp', ['method' => 'get|post']], //新增跟进 'addFollowUp' => ['api_broker/OfficeReport/addFollowUp', ['method' => 'get|post']], //新增跟进
'getFollowUpList' => ['api_broker/OfficeReport/getFollowUpList', ['method' => 'get|post']], 'getFollowUpList' => ['api_broker/OfficeReport/getFollowUpList', ['method' => 'get|post']],
......
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