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
29404fc1
Commit
29404fc1
authored
Jun 06, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纬度
parent
25c1c0e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
OfficeService.php
application/index/service/OfficeService.php
+1
-5
No files found.
application/index/service/OfficeService.php
View file @
29404fc1
...
...
@@ -71,17 +71,13 @@ class OfficeService
//新增周边交通
if
(
!
empty
(
$data
[
'add_building_stations'
]))
{
$position_service
=
new
PositionService
();
$first_position
=
$data
[
'latitude'
]
.
','
.
[
'longitude'
];
$first_position
=
$data
[
'latitude'
]
.
','
.
$data
[
'longitude'
];
$add_building_stations
=
json_decode
(
$data
[
'add_building_stations'
],
true
);
foreach
(
$add_building_stations
as
$k
=>
$v
)
{
if
(
empty
(
$v
[
'stations_id'
]))
{
continue
;
}
if
(
empty
(
$v
[
'distance'
]))
{
continue
;
}
$where
[
'building_id'
]
=
$id
;
$where
[
'stations_id'
]
=
$v
[
'stations_id'
];
$building_station_id
=
$this
->
m_building_stations
->
getFindData
(
'id'
,
$where
);
...
...
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