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
1f72071f
Commit
1f72071f
authored
Jul 31, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
7e7680a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Shop.php
application/api_broker/controller/Shop.php
+1
-2
No files found.
application/api_broker/controller/Shop.php
View file @
1f72071f
...
...
@@ -148,7 +148,7 @@ class Shop extends Basic
//$conditions['upload_id'] = array( "eq", $params['agent_id'] );
$conditions
[
'id'
]
=
array
(
"in"
,
$ids
);
}
$area_start
=
isset
(
$params
[
'shop_area_start'
])
?
$params
[
'shop_area_start'
]
:
-
1
;
$area_end
=
isset
(
$params
[
'shop_area_end'
])
?
$params
[
'shop_area_end'
]
:
-
1
;
if
(
$area_start
>=
0
&&
$area_end
>=
0
)
{
//面积
...
...
@@ -301,7 +301,6 @@ class Shop extends Basic
$result
[
"images"
]
=
$this
->
gHousesImgModel
->
getHouseImages
(
$param
,
15
);
$param
[
"img_type"
]
=
3
;
//图片类型:1效果图,2实景图,3样板图,4户型图,5交通图
$result
[
"plan_images"
]
=
$this
->
gHousesImgModel
->
getHouseImages
(
$param
,
1
);
$result
[
"plan_images"
]
=
[];
if
(
$params
[
'site_area'
]
==
3
||
$params
[
"site_area"
]
==
4
)
{
$result
[
'landlord_phone'
]
=
json_decode
(
$result
[
'landlord_phone'
],
true
);
$result
[
'create_time'
]
=
date
(
'Y-m-d'
,
strtotime
(
$result
[
'create_time'
]));
...
...
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