lvhao 15 시간 전
부모
커밋
1dd28038f2
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      core/CoreApp/libraries/Common.php

+ 2 - 3
core/CoreApp/libraries/Common.php

@@ -90,16 +90,15 @@ $this->ci = &get_instance();
 	$this->ci->load->_model('Model_user','user');
 	$this->ci->load->library('session');
 	$user = $this->ci->user->get_api($_SESSION['api']);
-	$where = " show = 1 and id != 2 and id != 14 and id != 11 and id != 15 and id != 10 and id != 1 and id != 4";
+	$where = "id != 2 and id != 14 and id != 11 and id != 15 and id != 10 and id != 1 and id != 4";
     $result = $this->ci->warehouse->find_all($where,'*',$order,0,$num);
     return $result;
 	}
-
 	/*独立站仓库*/
     function _dlzwarehouse($classid,$num=100,$order='px asc')
     {
 	$this->ci->load->_model('Model_warehouse','warehouse');
-    $where = "  show = 1 and  id != 2 and id != 7 and id != 8 and id != 9 and id != 14 and id != 11 and id != 15 and id != 10 and id != 1 and id != 4";
+    $where = "id != 2 and id != 7 and id != 8 and id != 9 and id != 14 and id != 11 and id != 15 and id != 10 and id != 1 and id != 4";
     $result = $this->ci->warehouse->find_all($where,'*',$order,0,$num);
     return $result;
 	}