SmsModel::send PHP 메소드

send() 보호된 메소드

发送
저자: Medz Seven ([email protected])
protected send ( ) : boolean
리턴 boolean
    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;
    }