root 5 years ago
parent
commit
abdb6f80af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Passport/CommController.php

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