protected function send()
{
$result = $this->curl();
switch (strtolower($this->provider)) {
/* # 互亿无线 */
case 'ihuyi':
$result = $this->ihuyi($result);
break;
/* 短信宝 */
/* 短信宝 */
case 'smsbao':
$result = $this->smsbao($result);
break;
default:
$result = $this->auto($result);
break;
}
$result or $this->getMessage() or $this->setMessage('发送失败');
return $result;
}