From abdb6f80af59137583a61443a4979ccd7509dc88 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 11 Jan 2020 19:18:45 +0800 Subject: [PATCH] update --- app/Http/Controllers/Passport/CommController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Passport/CommController.php b/app/Http/Controllers/Passport/CommController.php index f5d7e2e2..31aec812 100644 --- a/app/Http/Controllers/Passport/CommController.php +++ b/app/Http/Controllers/Passport/CommController.php @@ -53,7 +53,7 @@ class CommController extends Controller abort(500, '发送失败'); } - Cache::put($cacheKey, $code, 10); + Cache::put($cacheKey, $code, 600); return response([ 'data' => true ]);