public function mobile_info()
 {
     $mobile = I('get.mobile', '');
     $santi = new SFMobile();
     $result = $santi->getInfo($mobile);
     //        dump($result);
     if ($result['status']) {
         $this->assign('mobile_info', $result['info']);
     }
     $this->display();
 }
 public function getMobileInfo($mobile)
 {
     $sf = new SFMobile();
     $result = $sf->getInfo($mobile);
     if ($result['status']) {
         $info = $result['info'];
         if ($info['resultCode'] == 1000) {
             $mobile_info = $info;
             unset($mobile_info['resultCode']);
             unset($mobile_info['resultReason']);
             return array('status' => true, 'info' => $mobile_info);
         } else {
             return array('status' => false, 'info' => $info['resultReason']);
         }
     } else {
         return $result;
     }
 }