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
0aad88c4
Commit
0aad88c4
authored
Jul 19, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索条件
parent
f6e74b16
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
Houses.php
application/index/controller/Houses.php
+7
-3
No files found.
application/index/controller/Houses.php
View file @
0aad88c4
...
...
@@ -125,7 +125,11 @@ class Houses extends Basic
/*0是1否显示在c端用户*/
if
(
$this
->
params
[
'is_show'
]
!=
-
1
)
{
$where
[
'a.is_show'
]
=
$this
->
params
[
'is_show'
];
if
(
$this
->
params
[
'is_show'
]
==
1
)
{
$where
[
'a.is_show'
]
=
0
;
}
else
{
$where
[
'a.is_show'
]
=
1
;
}
}
/*商铺类型(0商场,1街铺)*/
...
...
@@ -217,13 +221,13 @@ class Houses extends Basic
if
(
$this
->
params
[
'dish_name'
]
!=
NULL
)
{
$where
[
'c.name'
]
=
[
'LIKE'
,
'%'
.
$this
->
params
[
'dish_name'
]
.
'%'
];
$where
[
'b.type'
]
=
[
'='
,
2
]
;
$where
[
'b.type'
]
=
2
;
$where
[
'b.is_del'
]
=
0
;
}
if
(
$this
->
params
[
'dish_phone'
]
!=
NULL
)
{
$where
[
'c.phone'
]
=
[
'LIKE'
,
'%'
.
$this
->
params
[
'dish_phone'
]
.
'%'
];
$where
[
'b.type'
]
=
[
'='
,
2
]
;
$where
[
'b.type'
]
=
2
;
$where
[
'b.is_del'
]
=
0
;
}
...
...
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