root 5 năm trước cách đây
mục cha
commit
abdb6f80af
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
         ]);