root %!s(int64=5) %!d(string=hai) anos
pai
achega
abdb6f80af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
         ]);