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
c44c0a21
Commit
c44c0a21
authored
Jul 19, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表搜索条件修改
parent
2c0b700a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
Houses.php
application/index/controller/Houses.php
+6
-1
houseList.html
application/index/view/houses/houseList.html
+2
-2
No files found.
application/index/controller/Houses.php
View file @
c44c0a21
...
...
@@ -116,7 +116,12 @@ class Houses extends Basic
/*精选商铺--0是1否*/
if
(
$this
->
params
[
'is_carefully_chosen'
]
!=
-
1
)
{
$where
[
'a.is_carefully_chosen'
]
=
$this
->
params
[
'is_carefully_chosen'
];
if
(
$this
->
params
[
'is_carefully_chosen'
]
==
1
)
{
$where
[
'a.is_carefully_chosen'
]
=
1
;
$where
[
'a.status'
]
=
1
;
}
else
{
$where
[
'a.is_carefully_chosen'
]
=
0
;
}
}
/*0是1否显示在c端用户*/
...
...
application/index/view/houses/houseList.html
View file @
c44c0a21
...
...
@@ -63,8 +63,8 @@
<form
id=
"form_search"
>
<select
class=
"form-control btn11"
id=
"is_carefully_chosen"
>
<option
value=
"-1"
"
>
是否显示在首页
</option>
<option
value=
"0"
>
是
</option>
<option
value=
"1"
>
否
</option>
<option
value=
"0"
>
否
</option>
<option
value=
"1"
>
是
</option>
</select>
<select
class=
"form-control btn11"
id=
"is_show"
>
<option
value=
"-1"
>
是否给商户看
</option>
...
...
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