| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -13,7 +13,7 @@ use Illuminate\Foundation\Bus\Dispatchable; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					use Illuminate\Queue\InteractsWithQueue; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					use Illuminate\Queue\SerializesModels; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					class BatchUploadMiniProgram implements ShouldQueue | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					class UploadMiniProgramQueue implements ShouldQueue | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -41,7 +41,7 @@ class BatchUploadMiniProgram implements ShouldQueue | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public function handle() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							$agent = Agent::find($this->agent_id); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							$template = MiniProgramTemplate::where('template_id', $this->template_id)->first(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							$template = MiniProgramTemplate::find($this->template_id); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							if (!$agent || !$template) return; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 |