工作場景:閑時關(guān)閉限流器,忙時開啟限流器
目前問題:寫了代碼的接口,設(shè)置:config/plugin/webman/rate-limiter/app.php enable=> false,就會報錯
Limiter::check("{$params['email']}_register_email_verif", 5, 15 * 60, "每個郵箱15分鐘內(nèi)最多5條驗證郵件");
Error: Typed static property Webman\RateLimiter\Limiter::$driver must not be accessed before initialization in