使用 队列发送邮件

This commit is contained in:
iVampireSP.com 2023-01-17 21:02:04 +08:00
parent 95463088cd
commit 942184c07e
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -6,10 +6,11 @@
use App\Notifications\Channels\WebChannel;
use App\Notifications\Channels\WeComChannel;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class WorkOrder extends Notification
class WorkOrder extends Notification implements ShouldQueue
{
use Queueable;