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
f37f69d7
Commit
f37f69d7
authored
May 05, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表搜索条件
parent
feebde44
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Houses.php
application/index/controller/Houses.php
+5
-5
No files found.
application/index/controller/Houses.php
View file @
f37f69d7
...
...
@@ -99,17 +99,17 @@ class Houses extends Basic
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
/*精选商铺--0是1否*/
if
(
$this
->
params
[
'is_carefully_chosen'
]
!=
NULL
)
{
if
(
$this
->
params
[
'is_carefully_chosen'
]
!=
-
1
)
{
$where
[
'is_carefully_chosen'
]
=
$this
->
params
[
'is_carefully_chosen'
];
}
/*0是1否显示在c端用户*/
if
(
$this
->
params
[
'is_show'
]
!=
NULL
)
{
if
(
$this
->
params
[
'is_show'
]
!=
-
1
)
{
$where
[
'is_show'
]
=
$this
->
params
[
'is_show'
];
}
/*商铺类型(0商场,1街铺)*/
if
(
$this
->
params
[
'shop_type'
]
!=
NULL
)
{
if
(
$this
->
params
[
'shop_type'
]
!=
-
1
)
{
$where
[
'shop_type'
]
=
$this
->
params
[
'shop_type'
];
}
...
...
@@ -148,7 +148,7 @@ class Houses extends Basic
}
/*是否独家0否1是*/
if
(
$this
->
params
[
'is_exclusive_type'
]
!=
NULL
)
{
if
(
$this
->
params
[
'is_exclusive_type'
]
!=
-
1
)
{
$where
[
'is_exclusive_type'
]
=
$this
->
params
[
'is_exclusive_type'
];
}
...
...
@@ -168,7 +168,7 @@ class Houses extends Basic
}
/*根据库存判断是否已租*/
if
(
$this
->
params
[
'leased'
]
!=
NULL
)
{
if
(
$this
->
params
[
'leased'
]
!=
-
1
)
{
if
(
$this
->
params
[
'leased'
]
==
0
)
{
$where
[
'residue_num'
]
=
0
;
}
else
{
...
...
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