composer require aiqbg/message
php artisan vendor:publish
config/app.php
添加
Aiqbg\Message\MessageProvider::class
'Message' => Aiqbg\Message\Facades\Message::class
use Aiqbg\Message\Facades\Message;
Message::sendMessage("测试插件", "啦啦啦啦啦啦");
- title: 消息标题 必传
- message: 消息内容 必传
- user: 消息接收人 非必传
- group: 消息接收组 非必传
- receive: 接收终端 默认 qywx, 在配置文件中配置