From 064834001ddd65150e018b988a56728ae0ac8bf9 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Wed, 18 Mar 2020 18:16:33 +0800 Subject: [PATCH] update --- app/Http/Controllers/Admin/MailController.php | 2 +- app/Http/Controllers/Passport/CommController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);