使用 队列发送邮件
This commit is contained in:
parent
95463088cd
commit
942184c07e
@ -6,10 +6,11 @@
|
|||||||
use App\Notifications\Channels\WebChannel;
|
use App\Notifications\Channels\WebChannel;
|
||||||
use App\Notifications\Channels\WeComChannel;
|
use App\Notifications\Channels\WeComChannel;
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
use Illuminate\Notifications\Notification;
|
use Illuminate\Notifications\Notification;
|
||||||
|
|
||||||
class WorkOrder extends Notification
|
class WorkOrder extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Queueable;
|
use Queueable;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user