|
@@ -385,11 +385,11 @@ class Commodity extends Start_Controller {
|
|
|
}
|
|
}
|
|
|
$sid = " and (".rtrim($sid,'or').")";
|
|
$sid = " and (".rtrim($sid,'or').")";
|
|
|
}
|
|
}
|
|
|
- $sid = " and id = 11";
|
|
|
|
|
|
|
+ //$sid = " and id = 11";
|
|
|
$post = $this->input->post(NULL, TRUE);
|
|
$post = $this->input->post(NULL, TRUE);
|
|
|
if($sid)
|
|
if($sid)
|
|
|
{
|
|
{
|
|
|
- $shop = $this->shop->find_all("code != '' and type = '270'".$sid);//获取店铺信息
|
|
|
|
|
|
|
+ $shop = $this->shop->find_all("code != '' and type = '270' and status = '0' ".$sid);//获取店铺信息
|
|
|
foreach ($shop as $value)
|
|
foreach ($shop as $value)
|
|
|
{
|
|
{
|
|
|
$res = array();
|
|
$res = array();
|