广告
返回顶部
首页 > 资讯 > 后端开发 > PHP编程 >PHPlaravel使用自定义邮件类实现发送邮件
  • 790
分享到

PHPlaravel使用自定义邮件类实现发送邮件

PHPlaravel发送邮件PHP发送邮件PHPlaravel 2022-11-13 18:11:06 790人浏览 独家记忆
摘要

当登录邮箱为腾讯企业邮箱的时候。 PHPmailer发送邮件就不好用了,具体哪里不好用,我没真没找到。 但是,邮件得发啊,怎么办呢? 我这里搞了一个自定义的发送邮件类,腾讯企业邮箱也

当登录邮箱为腾讯企业邮箱的时候。

PHPmailer发送邮件就不好用了,具体哪里不好用,我没真没找到。

但是,邮件得发啊,怎么办呢?

我这里搞了一个自定义的发送邮件类,腾讯企业邮箱也可用。

但是,邮件发送失败,不会返回报错信息,这个可能是有点坑。

源码如下:

<?php
 
namespace App\Extend;
use Exception;

 
class SmtpMail
{
    
    private $_userName;
 
    
    private $_passWord;
 
    
    private $_sendServer;
 
    
    private $_port;
 
    
    protected $_from;
 
    
    protected $_to;
 
    
    protected $_cc;
 
    
    protected $_bcc;
 
    
    protected $_subject;
 
    
    protected $_body;
 
    
    protected $_attachment;
 
    
    protected $_Socket;
 
    
    protected $_isSecurity;
 
    
    protected $_errORMessage;
 
    protected $_debug = false;
    
    private function debug($msg)
    {
        if ($this->_debug) {
            echo $msg, '<br>', "\n";
        }
    }
    public function setDebug($val = true)
    {
        $this->_debug = $val;
    }
 
    
    public function setServer($server, $username = "", $password = "", $port = 25, $isSecurity = false)
    {
        $this->_sendServer = $server;
        $this->_port = $port;
        $this->_isSecurity = $isSecurity;
        $this->_userName = empty($username) ? "" : base64_encode($username);
        $this->_password = empty($password) ? "" : base64_encode($password);
        return true;
    }
 
    
    public function setFrom($from)
    {
        $this->_from = $from;
        return true;
    }
 
    
    public function setReceiver($to)
    {
        if (isset($this->_to)) {
            if (is_string($this->_to)) {
                $this->_to = array($this->_to);
                $this->_to[] = $to;
                return true;
            } elseif (is_array($this->_to)) {
                $this->_to[] = $to;
                return true;
            } else {
                return false;
            }
        } else {
            $this->_to = $to;
            return true;
        }
    }
 
    
    public function setCc($cc)
    {
        if (isset($this->_cc)) {
            if (is_string($this->_cc)) {
                $this->_cc = array($this->_cc);
                $this->_cc[] = $cc;
                return true;
            } elseif (is_array($this->_cc)) {
                $this->_cc[] = $cc;
                return true;
            } else {
                return false;
            }
        } else {
            $this->_cc = $cc;
            return true;
        }
    }
 
    
    public function setBcc($bcc)
    {
        if (isset($this->_bcc)) {
            if (is_string($this->_bcc)) {
                $this->_bcc = array($this->_bcc);
                $this->_bcc[] = $bcc;
                return true;
            } elseif (is_array($this->_bcc)) {
                $this->_bcc[] = $bcc;
                return true;
            } else {
                return false;
            }
        } else {
            $this->_bcc = $bcc;
            return true;
        }
    }
 
    
    public function addAttachment($file)
    {
        if (!file_exists($file)) {
            $this->_errorMessage = "file " . $file . " does not exist.";
            return false;
        }
        if (isset($this->_attachment)) {
            if (is_string($this->_attachment)) {
                $this->_attachment = array($this->_attachment);
                $this->_attachment[] = $file;
                return true;
            } elseif (is_array($this->_attachment)) {
                $this->_attachment[] = $file;
                return true;
            } else {
                return false;
            }
        } else {
            $this->_attachment = $file;
            return true;
        }
    }
 
    
    public function setMail($subject, $body)
    {
        $this->_subject = $subject;
        $this->_body = base64_encode($body);
        return true;
    }
 
    
    public function send()
    {
        $command = $this->getCommand();
 
        $this->_isSecurity ? $this->socketSecurity() : $this->socket();
 
        foreach ($command as $value) {
            $result = $this->_isSecurity ? $this->sendCommandSecurity($value[0], $value[1]) : $this->sendCommand($value[0], $value[1]);
            if ($result) {
                continue;
            } else {
                return false;
            }
        }
 
        //其实这里也没必要关闭,smtp命令:QUIT发出之后,服务器就关闭了连接,本地的socket资源会自动释放
        $this->_isSecurity ? $this->closeSecutity() : $this->close();
        return true;
    }
 
    
    public function error()
    {
        if (!isset($this->_errorMessage)) {
            $this->_errorMessage = "";
        }
        return $this->_errorMessage;
    }
 
    
    protected function getCommand()
    {
        $separator = "----=_Part_" . md5($this->_from . time()) . uniqid(); //分隔符
 
        $command = array(
            array("HELO sendmail\r\n", 250)
        );
        if (!empty($this->_userName)) {
            $command[] = array("AUTH LOGIN\r\n", 334);
            $command[] = array($this->_userName . "\r\n", 334);
            $command[] = array($this->_password . "\r\n", 235);
        }
 
        //设置发件人
        $command[] = array("MAIL FROM: <" . $this->_from . ">\r\n", 250);
        $header = "FROM: <" . $this->_from . ">\r\n";
 
        //设置收件人
        if (is_array($this->_to)) {
            $count = count($this->_to);
            for ($i = 0; $i < $count; $i++) {
                $command[] = array("RCPT TO: <" . $this->_to[$i] . ">\r\n", 250);
                if ($i == 0) {
                    $header .= "TO: <" . $this->_to[$i] . ">";
                } elseif ($i + 1 == $count) {
                    $header .= ",<" . $this->_to[$i] . ">\r\n";
                } else {
                    $header .= ",<" . $this->_to[$i] . ">";
                }
            }
        } else {
            $command[] = array("RCPT TO: <" . $this->_to . ">\r\n", 250);
            $header .= "TO: <" . $this->_to . ">\r\n";
        }
 
        //设置抄送
        if (isset($this->_cc)) {
            if (is_array($this->_cc)) {
                $count = count($this->_cc);
                for ($i = 0; $i < $count; $i++) {
                    $command[] = array("RCPT TO: <" . $this->_cc[$i] . ">\r\n", 250);
                    if ($i == 0) {
                        $header .= "CC: <" . $this->_cc[$i] . ">";
                    } elseif ($i + 1 == $count) {
                        $header .= ",<" . $this->_cc[$i] . ">\r\n";
                    } else {
                        $header .= ",<" . $this->_cc[$i] . ">";
                    }
                }
            } else {
                $command[] = array("RCPT TO: <" . $this->_cc . ">\r\n", 250);
                $header .= "CC: <" . $this->_cc . ">\r\n";
            }
        }
 
        //设置秘密抄送
        if (isset($this->_bcc)) {
            if (is_array($this->_bcc)) {
                $count = count($this->_bcc);
                for ($i = 0; $i < $count; $i++) {
                    $command[] = array("RCPT TO: <" . $this->_bcc[$i] . ">\r\n", 250);
                    if ($i == 0) {
                        $header .= "BCC: <" . $this->_bcc[$i] . ">";
                    } elseif ($i + 1 == $count) {
                        $header .= ",<" . $this->_bcc[$i] . ">\r\n";
                    } else {
                        $header .= ",<" . $this->_bcc[$i] . ">";
                    }
                }
            } else {
                $command[] = array("RCPT TO: <" . $this->_bcc . ">\r\n", 250);
                $header .= "BCC: <" . $this->_bcc . ">\r\n";
            }
        }
 
        //主题
        $header .= "Subject: " . $this->_subject . "\r\n";
        if (isset($this->_attachment)) {
            //含有附件的邮件头需要声明成这个
            $header .= "Content-Type: multipart/mixed;\r\n";
        } elseif (false) {
            //邮件体含有图片资源的需要声明成这个
            $header .= "Content-Type: multipart/related;\r\n";
        } else {
            //html或者纯文本的邮件声明成这个
            $header .= "Content-Type: multipart/alternative;\r\n";
        }
 
        //邮件头分隔符
        $header .= "\t" . 'boundary="' . $separator . '"';
        $header .= "\r\nMIME-Version: 1.0\r\n";
        $header .= "\r\n--" . $separator . "\r\n";
        $header .= "Content-Type:text/html; charset=utf-8\r\n";
        $header .= "Content-Transfer-Encoding: base64\r\n\r\n";
        $header .= $this->_body . "\r\n";
        $header .= "--" . $separator . "\r\n";
 
        //加入附件
        if (isset($this->_attachment) && !empty($this->_attachment)) {
            if (is_array($this->_attachment)) {
                $count = count($this->_attachment);
                for ($i = 0; $i < $count; $i++) {
                    $header .= "\r\n--" . $separator . "\r\n";
                    $header .= "Content-Type: " . $this->getMIMEType($this->_attachment[$i]) . '; name="' . basename($this->_attachment[$i]) . '"' . "\r\n";
                    $header .= "Content-Transfer-Encoding: base64\r\n";
                    $header .= 'Content-Disposition: attachment; filename="' . basename($this->_attachment[$i]) . '"' . "\r\n";
                    $header .= "\r\n";
                    $header .= $this->readFile($this->_attachment[$i]);
                    $header .= "\r\n--" . $separator . "\r\n";
                }
            } else {
                $header .= "\r\n--" . $separator . "\r\n";
                $header .= "Content-Type: " . $this->getMIMEType($this->_attachment) . '; name="' . basename($this->_attachment) . '"' . "\r\n";
                $header .= "Content-Transfer-Encoding: base64\r\n";
                $header .= 'Content-Disposition: attachment; filename="' . basename($this->_attachment) . '"' . "\r\n";
                $header .= "\r\n";
                $header .= $this->readFile($this->_attachment);
                $header .= "\r\n--" . $separator . "\r\n";
            }
        }
 
        //结束邮件数据发送
        $header .= "\r\n.\r\n";
 
        $command[] = array("DATA\r\n", 354);
        $command[] = array($header, 250);
        $command[] = array("QUIT\r\n", 221);
 
        return $command;
    }
 
    
    protected function sendCommand($command, $code)
    {
        //debug('Send command:' . $command . ',expected code:' . $code );
        //发送命令给服务器
        try {
            if (socket_write($this->_socket, $command, strlen($command))) {
 
                //当邮件内容分多次发送时,没有$code,服务器没有返回
                if (empty($code)) {
                    return true;
                }
 
                //读取服务器返回
                $data = trim(socket_read($this->_socket, 1024));
                //debug( 'response:' . $data);
 
                if ($data) {
                    $pattern = "/^" . $code . "/";
                    if (preg_match($pattern, $data)) {
                        return true;
                    } else {
                        $this->_errorMessage = "Error:" . $data . "|**| command:";
                        return false;
                    }
                } else {
                    $this->_errorMessage = "Error:" . socket_strerror(socket_last_error());
                    return false;
                }
            } else {
                $this->_errorMessage = "Error:" . socket_strerror(socket_last_error());
                return false;
            }
        } catch (Exception $e) {
            $this->_errorMessage = "Error:" . $e->getMessage();
        }
    }
 
    
    protected function sendCommandSecurity($command, $code)
    {
        //debug('Send command:' . $command . ',expected code:' . $code );
        try {
            if (fwrite($this->_socket, $command)) {
                //当邮件内容分多次发送时,没有$code,服务器没有返回
                if (empty($code)) {
                    return true;
                }
                //读取服务器返回
                $data = trim(fread($this->_socket, 1024));
                //debug( 'response:' . $data );
 
                if ($data) {
                    $pattern = "/^" . $code . "/";
                    if (preg_match($pattern, $data)) {
                        return true;
                    } else {
                        $this->_errorMessage = "Error:" . $data . "|**| command:";
                        return false;
                    }
                } else {
                    return false;
                }
            } else {
                $this->_errorMessage = "Error: " . $command . " send failed";
                return false;
            }
        } catch (Exception $e) {
            $this->_errorMessage = "Error:" . $e->getMessage();
        }
    }
 
    
    protected function readFile($file)
    {
        if (file_exists($file)) {
            $file_obj = file_get_contents($file);
            return base64_encode($file_obj);
        } else {
            $this->_errorMessage = "file " . $file . " dose not exist";
            return false;
        }
    }
 
    
    protected function getMIMEType($file)
    {
        if (file_exists($file)) {
            $mime = mime_content_type($file);
            if (!preg_match("/gif|jpg|png|jpeg/", $mime)) {
                $mime = "application/octet-stream";
            }
            return $mime;
        } else {
            return false;
        }
    }
 
    
    private function socket()
    {
        //创建socket资源
        $this->_socket = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
 
        if (!$this->_socket) {
            $this->_errorMessage = socket_strerror(socket_last_error());
            return false;
        }
 
        socket_set_block($this->_socket); //设置阻塞模式
 
        //连接服务器
        if (!socket_connect($this->_socket, $this->_sendServer, $this->_port)) {
            $this->_errorMessage = socket_strerror(socket_last_error());
            return false;
        }
        $str = socket_read($this->_socket, 1024);
        if (!strpos($str, "220")) {
            $this->_errorMessage = $str;
            return false;
        }
 
        return true;
    }
 
    
    private function socketSecurity()
    {
        $remoteAddr = "tcp://" . $this->_sendServer . ":" . $this->_port;
        $this->_socket = stream_socket_client($remoteAddr, $errno, $errstr, 30);
        if (!$this->_socket) {
            $this->_errorMessage = $errstr;
            return false;
        }
 
        //设置加密连接,默认是ssl,如果需要tls连接,可以查看php手册stream_socket_enable_crypto函数的解释
        stream_socket_enable_crypto($this->_socket, true, STREAM_CRYPTO_METHOD_SSLv23_CLIENT);
 
        stream_set_blocking($this->_socket, 1); //设置阻塞模式
        $str = fread($this->_socket, 1024);
        if (!strpos($str, "220")) {
            $this->_errorMessage = $str;
            return false;
        }
 
        return true;
    }
 
    
    private function close()
    {
        if (isset($this->_socket) && is_object($this->_socket)) {
            $this->_socket->close();
            return true;
        }
        $this->_errorMessage = "No resource can to be close";
        return false;
    }
 
    
    private function closeSecutity()
    {
        if (isset($this->_socket) && is_object($this->_socket)) {
            stream_socket_shutdown($this->_socket, STREAM_SHUT_WR);
            return true;
        }
        $this->_errorMessage = "No resource can to be close";
        return false;
    }
}

关于laravel5.8框架如何引入第三方类库,请参考下文补充内容 laravel8大同小异。

调用方法:


    public function send_mail($email, $mail_title, $mail_body)
    {
        $mail = new SmtpMail();
        $mail->setServer(EMAIL_SERVER, SEND_EMAIL, EMAIL_SECERT, 465, true); //参数1(qq邮箱使用smtp.qq.com,qq企业邮箱使用smtp.exmail.qq.com),参数2(邮箱登陆账号),参数3(邮箱登陆密码,也有可能是独立密码,就是开启pop3/smtp时的授权码),参数4(默认25,腾云服务器屏蔽25端口,所以用的465),参数5(是否开启ssl,用465就得开启)//$mail->setServer("XXXXX", "joffe@XXXXX", "XXXXX", 465, true);
        $mail->setFrom(SEND_EMAIL,"时间里的博客"); //发送者邮箱
        $mail->setReceiver($email); //接收者邮箱
        $mail->addAttachment(""); //Attachment 附件,不用可注释
        $mail->setMail($mail_title, $mail_body); //标题和内容
        $result = $mail->send(); //可以var_dump一下,发送成功会返回true,失败false
        return $result;//*/
    }

代码亲测可用。

补充

laravel5.8引入第三方类库的方法详解

有需求需要使用PHPMailer发送邮件。

那么首先需要引入PHPMailer这个第三方的类库。我是这样做的:

1:在app目录下新建Extend目录。如下图所示:

将PHPMailer放入Extend目录下。如下图所示

2:修改项目根目录下的composer.JSON文件

"autoload": {
        "psr-4": {
            "App\\": "app/"
        },
        "claSSMap": [
            "database/seeds",
            "database/factories",
            "app/Extend/PHPMailer/src"
        ]
    },

添加你第三方类库的位置到autoload中

3:执行composer命令,在网站根目录下:

composer dump-autoload

4:调用:

(1):使用命名空间

use PHPMailer\src\PHPMailer;

(2):调用

 //实例化PHPMailer核心类
$mail = new PHPMailer();

如果报错,就在实例化前边加一个转义符\

至此,laravel引入第三方类库成功。

以上就是PHP laravel使用自定义邮件类实现发送邮件的详细内容,更多关于PHP laravel发送邮件的资料请关注编程网其它相关文章!

--结束END--

本文标题: PHPlaravel使用自定义邮件类实现发送邮件

本文链接: https://www.lsjlt.com/news/169217.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • PHPlaravel使用自定义邮件类实现发送邮件
    当登录邮箱为腾讯企业邮箱的时候。 Phpmailer发送邮件就不好用了,具体哪里不好用,我没真没找到。 但是,邮件得发啊,怎么办呢? 我这里搞了一个自定义的发送邮件类,腾讯企业邮箱也...
    99+
    2022-11-13
    PHP laravel发送邮件 PHP 发送邮件 PHP laravel
  • C#使用System.Net.Mail类实现邮件发送
    有些 SMTP 服务器要求在代表客户端发送电子邮件前验证客户端的身份。当此 SmtpClient 对象应该使用当前登录用户的默认凭据进行身份验证(如果服务器要求)...
    99+
    2022-11-13
  • Python实现发送邮件到自己邮箱
    目录1、缘由2、设置SMTP服务器3、使用python发送4、总结5、补充1、缘由 在日常开发中,我们经常需要监控应用程序的状态,及时发现问题并采取措施解决。而通过邮件发送报警信息则...
    99+
    2023-05-14
    Python发送邮件到邮箱 Python发送邮件 Python 邮件 邮箱
  • c# 实现发送邮件到指定邮箱
    很多小伙伴对于【程序发送邮件】不明觉厉的同时又羡慕嫉妒恨,其实发送邮件是一个很常用的功能, 我们这里就简单做一个发送邮箱的案例。 PS:案例使用qq邮箱,当然,也可以使用其他邮箱,只...
    99+
    2022-11-11
  • Python怎么实现发送邮件到自己邮箱
    1、缘由在日常开发中,我们经常需要监控应用程序的状态,及时发现问题并采取措施解决。而通过邮件发送报警信息则是一种常见的实现方式。2、设置SMTP服务器登录到QQ邮箱后台然后点击账户找到“POP3/SMTP服务”和“IMAP/SMTP服务”项...
    99+
    2023-05-14
    Python
  • Python实现自动化发送邮件
    目录开门见山自动化发送邮件SMTP 介绍开启SMTP服务邮件的属性配置发送文本邮件发送HTML邮件发送附件邮件后记总结开门见山 自动化测试过程中,一般测试结果都会以邮件的形式发送给相...
    99+
    2022-11-12
  • c# 如何实现发送邮件到指定邮箱
    本篇内容介绍了“c# 如何实现发送邮件到指定邮箱”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!PS:案例使用qq邮箱,当然,也可以使用其他邮...
    99+
    2023-06-14
  • C#怎么使用System.Net.Mail类实现邮件发送
    这篇文章主要介绍“C#怎么使用System.Net.Mail类实现邮件发送”,在日常操作中,相信很多人在C#怎么使用System.Net.Mail类实现邮件发送问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”C...
    99+
    2023-07-02
  • Python如何实现自动发送邮件
    目录自动发送邮件使用邮箱的第一步一份邮件的组成正式发送一份邮件批量发送邮件自动发送邮件 我们把报表做出来以后一般都是需要发给别人查看,对于一些每天需要发的报表或者是需要一次发送多份的...
    99+
    2022-11-12
  • vbs如何实现定时发送邮件
    本篇内容介绍了“vbs如何实现定时发送邮件”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!'用VBS写个脚本,然后用WINDOWS平台...
    99+
    2023-06-08
  • Python实现定时发送监控邮件
    目录一、自动定时任务运行详情二、开启POP3/SMTP服务三、发送邮件1 导入库2 设置邮件内容3 添加附件4 发送邮件5 邮件发送效果四、设置定时任务1 设置定时任务的具体步骤2 ...
    99+
    2022-11-12
  • Express怎么实现定时发送邮件
    今天小编给大家分享一下Express怎么实现定时发送邮件的相关知识点,内容详细,逻辑清晰,相信大部分人都还太了解这方面的知识,所以分享这篇文章给大家参考一下,希望大家阅读完这篇文章后有所收获,下面我们一起来了解一下吧。在开发中我们有时候需要...
    99+
    2023-07-06
  • 怎么用SpringBoot实现QQ邮箱发送邮件
    本篇内容主要讲解“怎么用SpringBoot实现QQ邮箱发送邮件”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“怎么用SpringBoot实现QQ邮箱发送邮件”吧!1.获取QQ邮箱授权码2.导入邮...
    99+
    2023-06-22
  • 利用Python实现邮件发送
    SMTP(Simple Mail Transfer Protocol)即简单邮件传输协议,它是⼀一组⽤用于由源地址到⽬目的地址传送邮件的规则,由它来控制信件的中转⽅方式。python的smtplib提供了了⼀一种很⽅方便便的途径发送电⼦子邮...
    99+
    2023-05-14
    Python 邮件发送
  • 如何使用nodejs自动发送邮件
    这篇文章主要介绍“如何使用nodejs自动发送邮件”,在日常操作中,相信很多人在如何使用nodejs自动发送邮件问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”如何使用node...
    99+
    2022-10-19
  • Shell中怎么实现自动发送邮件
    这期内容当中小编将会给大家带来有关Shell中怎么实现自动发送邮件,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。1、编辑用户Home目录下的.muttrc文件,设置发信环境。代码如下:# cat /roo...
    99+
    2023-06-09
  • Python如何实现自动化邮件发送
    今天就跟大家聊聊有关Python如何实现自动化邮件发送,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。使用Python实现自动化邮件发送,可以让你摆脱繁琐的重复性业务,可以节省非常多的...
    99+
    2023-06-26
  • Python怎么实现自动化发送邮件
    这期内容当中小编将会给大家带来有关Python怎么实现自动化发送邮件,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。python是什么意思Python是一种跨平台的、具有解释性、编译性、互动性和面向对象的脚...
    99+
    2023-06-26
  • 如何用自定义函数进行Python发送电子邮件
    这篇文章给大家介绍如何用自定义函数进行Python发送电子邮件,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。大概是在一个多月前,有个朋友问我如何使用Python发送邮件,说心里话这方面的操作在我之前的工作履历中真的没有...
    99+
    2023-06-02
  • Python实战之自动发送邮件的实现
    目录1.开启SMTP服务2.准备3.编写脚本4.小例子自动发送邮件能应用于许多场景,比如我想要知道股票策略中的股票池是否有实时的更新,这时候如果再拉一遍数据,跑一遍脚本,实在是太浪费...
    99+
    2022-11-13
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作