| 
					
				 | 
			
			
				@@ -24,12 +24,10 @@ class Banner extends Api 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public function getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            $companyId = $this->request->param('company_id',0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $position = $this->request->param('position',0);//位置:0=首页,1=门店印象 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $field = 'id,title,image,url'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $where['status'] = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $where['position'] = $position; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            $where['company_id'] = $companyId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $result = $this->model->field($field)->where($where)->order('weigh asc')->select(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!empty($result)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 foreach ($result as $key => &$value) { 
			 |