Commit 2ef8ce10 authored by hujun's avatar hujun

商铺列表是否C显示

parent 45310a8a
...@@ -126,9 +126,9 @@ class Houses extends Basic ...@@ -126,9 +126,9 @@ class Houses extends Basic
/*0是1否显示在c端用户*/ /*0是1否显示在c端用户*/
if ($this->params['is_show'] != -1) { if ($this->params['is_show'] != -1) {
if ($this->params['is_show'] == 1) { if ($this->params['is_show'] == 1) {
$where['a.is_show'] = 0;
} else {
$where['a.is_show'] = 1; $where['a.is_show'] = 1;
} else {
$where['a.is_show'] = 0;
} }
} }
......
...@@ -79,8 +79,8 @@ ...@@ -79,8 +79,8 @@
<form id="form_search"> <form id="form_search">
<select class="form-control btn11" id="is_carefully_chosen"> <select class="form-control btn11" id="is_carefully_chosen">
<option value="-1"">是否显示在首页</option> <option value="-1"">是否显示在首页</option>
<option value="0"></option> <option value="1"></option>
<option value="1"></option> <option value="0"></option>
</select> </select>
<select class="form-control btn11" id="is_show"> <select class="form-control btn11" id="is_show">
<option value="-1">是否给商户看</option> <option value="-1">是否给商户看</option>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment