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
b45f35ae
Commit
b45f35ae
authored
Dec 06, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
最适合业态
parent
ce5836d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MapFindHouse.php
application/api_broker/controller/MapFindHouse.php
+4
-4
No files found.
application/api_broker/controller/MapFindHouse.php
View file @
b45f35ae
...
...
@@ -96,13 +96,13 @@ class MapFindHouse extends Basic
$disc_str
.=
$item
[
"name"
]
.
","
;
}
$disc_str
=
rtrim
(
$disc_str
,
","
);
$
params
[
"a.disc"
]
=
array
(
"in"
,
$disc_str
);
$
where_
[
"a.disc"
]
=
array
(
"in"
,
$disc_str
);
if
(
$params
[
"source"
]
==
2
){
$
params
[
'a.status'
]
=
array
(
'eq'
,
1
);
//只显示上架
$
params
[
'a.is_show'
]
=
array
(
'eq'
,
0
);
//c端只显示可显示的楼盘
$
where_
[
'a.status'
]
=
array
(
'eq'
,
1
);
//只显示上架
$
where_
[
'a.is_show'
]
=
array
(
'eq'
,
0
);
//c端只显示可显示的楼盘
}
$shop_arr
=
$this
->
gHousesModel
->
getHouseNumByDisc
(
$
params
);
$shop_arr
=
$this
->
gHousesModel
->
getHouseNumByDisc
(
$
where_
);
$disc_arr
=
[];
foreach
(
$disc
as
$key
=>
$item
)
{
foreach
(
$shop_arr
as
$i
=>
$j
)
{
...
...
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