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
f8a150db
Commit
f8a150db
authored
Jun 27, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2c851cc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
OfficeRoomApiService.php
application/api/service/OfficeRoomApiService.php
+5
-1
No files found.
application/api/service/OfficeRoomApiService.php
View file @
f8a150db
...
@@ -102,7 +102,11 @@ class OfficeRoomApiService
...
@@ -102,7 +102,11 @@ class OfficeRoomApiService
$ids
=
$this
->
getBuildingByStations
(
$params
[
'stations_ids'
]);
$ids
=
$this
->
getBuildingByStations
(
$params
[
'stations_ids'
]);
if
(
$ids
)
{
if
(
$ids
)
{
$where
[
'b.id'
]
=
array
(
"in"
,
$ids
);
//地铁
$where
[
'b.id'
]
=
array
(
"in"
,
$ids
);
//地铁
}
}
else
{
$result
[
'status'
]
=
'successful'
;
$result
[
'msg'
]
=
"request null"
;
return
$result
;
}
}
}
$where
[
'a.status'
]
=
1
;
//状态 1上架 2下架 只显示上架
$where
[
'a.status'
]
=
1
;
//状态 1上架 2下架 只显示上架
$field
=
'a.id,b.disc,b.title,b.address,c.name as business_name,a.building_id,a.price,a.price_total,b.status,a.is_rent'
;
$field
=
'a.id,b.disc,b.title,b.address,c.name as business_name,a.building_id,a.price,a.price_total,b.status,a.is_rent'
;
...
...
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