예제 #1
0
파일: SMS.php 프로젝트: zt123/Base-System
 public static function send($content, $number = '18608032904')
 {
     if (empty($content)) {
         return false;
     }
     $url = 'http://sms.daoser.com/sms/send/message/' . urlencode($content) . '/phone/' . $number;
     return SMS::get($url);
 }
예제 #2
0
 public static function getSMSDetail($id)
 {
     $sms = new SMS(array('id' => $id));
     $details = $sms->get();
     return $details;
 }