This commit is contained in:
Tokumeikoi 2020-03-18 18:16:33 +08:00
parent 49d5b407bc
commit 064834001d
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ class MailController extends Controller
'url' => config('v2board.app_url'),
'content' => $request->input('content')
]
])->onQueue('other_mail');
]);
}
return response([

View File

@ -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);