public function authCode($phone, $code, $model = 'phoneAuth')
 {
     if (Sp_Sendmsg::authCode($phone, $code, $model)) {
         $return = array("status" => 1, "msg" => "验证成功");
     } else {
         $return = array("status" => 0, "msg" => "验证失败,请重新获取验证码");
     }
     return $return;
 }
 public function authCode($account = '', $code = '', $type = 'phone')
 {
     $auth = Sp_Sendmsg::authCode($account, $code, $type);
     if (1 === $auth) {
         $return = array("status" => 1, "msg" => "验证成功");
     } else {
         if (false === $auth) {
             $return = array("status" => 0, "msg" => "验证失败,请重新获取验证码");
         } else {
             $return = $auth;
         }
     }
     return $return;
 }