diff --git a/app/Http/Controllers/Admin/MailController.php b/app/Http/Controllers/Admin/MailController.php index 32fa9c91..858c6b9e 100644 --- a/app/Http/Controllers/Admin/MailController.php +++ b/app/Http/Controllers/Admin/MailController.php @@ -37,7 +37,7 @@ class MailController extends Controller 'url' => config('v2board.app_url'), 'content' => $request->input('content') ] - ])->onQueue('other_mail'); + ]); } return response([ diff --git a/app/Http/Controllers/Passport/CommController.php b/app/Http/Controllers/Passport/CommController.php index 435e458e..0a1c368b 100644 --- a/app/Http/Controllers/Passport/CommController.php +++ b/app/Http/Controllers/Passport/CommController.php @@ -54,7 +54,7 @@ class CommController extends Controller 'code' => $code, 'url' => config('v2board.app_url') ] - ])->onQueue('verify_mail'); + ]); Cache::put(CacheKey::get('EMAIL_VERIFY_CODE', $email), $code, 300); Cache::put(CacheKey::get('LAST_SEND_EMAIL_VERIFY_TIMESTAMP', $email), time(), 60);