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
35bb2969
Commit
35bb2969
authored
Jun 02, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交通
parent
14b2c806
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
OfficeService.php
application/index/service/OfficeService.php
+7
-0
route.php
application/route.php
+1
-0
No files found.
application/index/service/OfficeService.php
View file @
35bb2969
...
...
@@ -261,11 +261,18 @@ class OfficeService
}
$m_business
=
new
GBusinessDistrict
();
$traffic_field
=
'b.line_name_simple,b.name,a.distance'
;
foreach
(
$data
as
$k
=>
$v
)
{
if
(
isset
(
$v
[
'business_district_id'
]))
{
$data
[
$k
][
'business_name'
]
=
$m_business
->
getFieldOneValue
(
'name'
,
[
'id'
=>
$v
[
'business_district_id'
]]);
}
$traffic
=
$this
->
m_building_stations
->
getListAll
(
$traffic_field
,
[
'building_id'
=>
$v
[
'id'
]]);
if
(
$traffic
)
{
$data
[
$k
][
'traffic'
]
=
$traffic
;
}
else
{
$data
[
$k
][
'traffic'
]
=
''
;
}
}
$result
[
'data'
]
=
$data
;
$result
[
'status'
]
=
'successful'
;
...
...
application/route.php
View file @
35bb2969
...
...
@@ -965,6 +965,7 @@ Route::group('office', [
'isShowAdjustment'
=>
[
'api_broker/OfficeOrderLog/isShowAdjustment'
,
[
'method'
=>
'GET|POST'
]],
'addBargain'
=>
[
'api_broker/OfficeOrderLog/addBargain'
,
[
'method'
=>
'post'
]],
//新增成交报告佣金(分佣提成)
'houseEdit'
=>
[
'api_broker/OfficeRoom/edit'
,
[
'method'
=>
'POST'
]],
//楼盘字典新增和编辑
'houseAdd'
=>
[
'api_broker/OfficeRoom/edit'
,
[
'method'
=>
'POST'
]],
//楼盘字典新增和编辑
'delHouseFile'
=>
[
'api_broker/OfficeRoom/delHouseFile'
,
[
'method'
=>
'POST'
]],
//删除房源图片
'delBuildingFile'
=>
[
'api_broker/OfficeBuilding/delHouseFile'
,
[
'method'
=>
'POST'
]],
//删除楼盘图片
'getBuildingSearch'
=>
[
'api_broker/OfficeRoom/getBuildingSearch'
,
[
'method'
=>
'GET'
]],
//搜索楼盘
...
...
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