Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
eb58b66f
Commit
eb58b66f
authored
Jul 31, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8f8d8a4c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
OfficeRoom.php
application/api_broker/controller/OfficeRoom.php
+17
-2
Basic.php
application/api_broker/extend/Basic.php
+1
-0
route.php
application/route.php
+1
-0
No files found.
application/api_broker/controller/OfficeRoom.php
View file @
eb58b66f
...
...
@@ -281,8 +281,6 @@ class OfficeRoom extends Basic
*/
public
function
getBuildingRoom
()
{
header
(
'Access-Control-Allow-Origin:*'
);
$result
=
$this
->
service
->
getRoomBuildingList
(
$this
->
params
);
if
(
$result
[
'status'
]
==
'successful'
)
{
...
...
@@ -294,6 +292,23 @@ class OfficeRoom extends Basic
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
);
}
/**
* 约带看房源搜索
...
...
application/api_broker/extend/Basic.php
View file @
eb58b66f
...
...
@@ -66,6 +66,7 @@ class Basic extends Controller
"broker/moveHouseAgent"
,
"broker/moveHouseSiteId"
,
"office/filtrateConditionRoom"
,
"office/getBuildingRoomH5"
,
);
/**
...
...
application/route.php
View file @
eb58b66f
...
...
@@ -1073,6 +1073,7 @@ Route::group('office', [
'addCollectHouse'
=>
[
'api_broker/OfficeCollectHouse/addCollectHouse'
,
[
'method'
=>
'POST|GET'
]],
//收藏或取消收藏商铺
'getCollectHouseList'
=>
[
'api_broker/OfficeCollectHouse/getCollectHouseList'
,
[
'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'
]],
//报备
'addFollowUp'
=>
[
'api_broker/OfficeReport/addFollowUp'
,
[
'method'
=>
'get|post'
]],
//新增跟进
'getFollowUpList'
=>
[
'api_broker/OfficeReport/getFollowUpList'
,
[
'method'
=>
'get|post'
]],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment