求救 Laravel 中间件 throttle 失效,永远都提示 Too Many Attempts 请求次数过多
做API短信发送接口,然后用了throttle 限制了下:
Route::post('VerificationCodes','VerificationCodesController@store')->name('VerificationCodes.store')->middleware('throttle:1,1');
设置的是一分钟一次
然而噩梦开始了
肯定显示的too many attempts
经过漫长的等待
然而还是显示
已经php artion cache:clear 和 php artion route:clear
推荐文章: