mirror of
				https://github.com/nerzhul/ocsms.git
				synced 2025-10-31 10:27:42 +00:00 
			
		
		
		
	Prepare loop for testing sms datas
This commit is contained in:
		
							parent
							
								
									dc2ff40448
								
							
						
					
					
						commit
						6401ef673d
					
				| @ -41,7 +41,12 @@ class SmsController extends Controller { | |||||||
| 		if ($smsCount != count($smsDatas)) { | 		if ($smsCount != count($smsDatas)) { | ||||||
| 			return "Error: sms count invalid"; | 			return "Error: sms count invalid"; | ||||||
| 		} | 		} | ||||||
| 		return array("test" => "test2"); | 
 | ||||||
|  | 		$buf = ""; | ||||||
|  | 		foreach ($sms in $smsDatas) { | ||||||
|  | 			$buf .= $sms["id"]; | ||||||
|  | 		} | ||||||
|  | 		return $buf; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user