| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -67,7 +67,7 @@ class AgentProductController extends Controller | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							$agent_product = AgentProduct::with([ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									'coupon:tag,agent_product_id', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									'product' => function($query) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										$query->select('id,type,extends')->with('spec'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										$query->select('id', 'type', 'extends')->with('spec'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								]) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								->whereDoesntHave('agentProductItem', function ($query) { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |