且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将参数传递给Laravel作业不起作用

更新时间:2023-11-12 09:54:52

调用 dispatch()时,应在此处发送参数.

When you call dispatch() you should send the parameter there.

尝试静态调用

SendMailFinished::dispatch('Hola', 'Prueba', 'ffuentes@example.org');