阶段更新
This commit is contained in:
15
app/Channels/WechatMiniChannel.php
Normal file
15
app/Channels/WechatMiniChannel.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Channels;
|
||||
|
||||
use Illuminate\Notifications\Notification;
|
||||
|
||||
class WechatMiniChannel
|
||||
{
|
||||
|
||||
public function send($notifiable, Notification $notification)
|
||||
{
|
||||
$notification->toWeChat($notifiable);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user