0
如何在第二个而不是在分钟内使用laravel油门? 我想用这个聊天应用程序,我认为限制它到第二会更好。Laravel在第二个油门覆盖
我试图用这个
Route::get("/v0/chat/get/{room}","[email protected]_get")->middleware('throttle:120,1');
但覆盖laravel middleWareGroup油门 - >中间件()重覆失败。谢谢
我无法在ThrottlesLogin.php上找到locoutTime()方法。我试过这个[[Route :: get(“test”,“testController @ route_test”) - > middleware('throttle:6,0.02'); ]]和作品,谢谢:) – ostrichegret
你用的是什么Laravel版本? – Jusfunny
我使用Laravel 5.3 – ostrichegret