root пре 5 година
родитељ
комит
abdb6f80af
1 измењених фајлова са 1 додато и 1 уклоњено
  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
         ]);