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
4bb1b0c6
Commit
4bb1b0c6
authored
Oct 17, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地图找房
parent
c3071ff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MapFindHouse.php
application/api_broker/controller/MapFindHouse.php
+2
-2
No files found.
application/api_broker/controller/MapFindHouse.php
View file @
4bb1b0c6
...
...
@@ -48,8 +48,8 @@ class MapFindHouse extends Basic
return
$this
->
response
(
"101"
,
"坐标传入有误1"
);
}
$conditions
=
[];
$conditions
[
"l
ong
itude"
]
=
array
(
"between"
,
array
(
$first_spot_arr
[
0
],
$second_spot_arr
[
0
]));
$conditions
[
"l
at
itude"
]
=
array
(
"between"
,
array
(
$first_spot_arr
[
1
],
$second_spot_arr
[
1
]));
$conditions
[
"l
at
itude"
]
=
array
(
"between"
,
array
(
$first_spot_arr
[
0
],
$second_spot_arr
[
0
]));
$conditions
[
"l
ong
itude"
]
=
array
(
"between"
,
array
(
$first_spot_arr
[
1
],
$second_spot_arr
[
1
]));
$field
=
"id,internal_title,longitude,latitude"
;
$result
=
$this
->
gHousesModel
->
getHousesListByMap
(
$field
,
$conditions
);
...
...
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