send mail delay && fetch admin

This commit is contained in:
Tokumeikoi 2020-04-07 01:10:14 +08:00
parent 6050e6e4a9
commit c4868a9c48
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ class SendEmailJob implements ShouldQueue
*/
public function __construct($params)
{
$this->delay(now()->addSecond(2));
$this->onQueue('send_email');
$this->params = $params;
}

File diff suppressed because one or more lines are too long