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