Explorar o código

提交数据 详情

lvhao hai 6 horas
pai
achega
1eeb7fc5c1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      core/CoreApp/controllers/Commodity.php

+ 2 - 2
core/CoreApp/controllers/Commodity.php

@@ -385,11 +385,11 @@ class Commodity extends Start_Controller {
 			}
 			$sid = " and (".rtrim($sid,'or').")";
 		}
-		$sid = " and id = 11";
+		//$sid = " and id = 11";
 		$post = $this->input->post(NULL, TRUE);
 		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)
 		    {
 				$res = array();