Update RateLimiting.php

This commit is contained in:
wolfcode
2025-03-05 18:31:45 +08:00
parent fdfe2a542a
commit d7b23f305d

View File

@@ -21,7 +21,7 @@ class RateLimiting
{
// 是否启用限流器
if (!env('RATE_LIMITING_STATUS', false)) return $next($request);
if ($request->method() == 'GET') return $next($request);
$controller = $request->controller();
$module = app('http')->getName();
$appNamespace = config('app.app_namespace');