| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -109,7 +109,7 @@ class MiniProgramPull extends RowAction | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								MiniProgramTemplate::insertOrIgnore($list['template_list']); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								MiniProgramTemplate::whereNotIn('template_id', array_column($list['template_list'], 'template_id'))->delete(); //删除不存在的数据
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								return $this->response()->success("更新列表成功")->refresh(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								return $this->response()->success("更新小程序模板成功")->refresh(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							} catch (\Exception $e) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								return $this->response()->error($e->getMessage()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							} | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |