| 
					
				 | 
			
			
				@@ -119,6 +119,16 @@ class Base 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public function send($mobile, $code, $id = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (Dever::project('sms')) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $send['skin'] = 'code'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $send['mobile'] = $mobile; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $send['param'] = array 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                'code' => $code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $send['param'] = Dever::json_encode($send['param']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return Dever::load('sms/api.send', $send); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $url = Dever::config('base', 'project')->mobileCode['url']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (!$url) { 
			 |