芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/app/Http/Kernel.php
*/ protected $middleware = [ // \App\Http\Middleware\TrustHosts::class, \App\Http\Middleware\TrustProxies::class, \Illuminate\Http\Middleware\HandleCors::class, \App\Http\Middleware\PreventRequestsDuringMaintenance::class, \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, \App\Http\Middleware\TrimStrings::class, \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, ]; /** * The application's route middleware groups. * * @var array
> */ protected $middlewareGroups = [ 'web' => [ \App\Http\Middleware\EncryptCookies::class, \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class, \App\Http\Middleware\VerifyCsrfToken::class, \Illuminate\Routing\Middleware\SubstituteBindings::class, \App\Http\Middleware\Admin\Localization::class, // \App\Http\Middleware\LanguageMiddleware::class, \App\Http\Middleware\StartingPoint::class, ], 'api' => [ // \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class, 'throttle:api', \Illuminate\Routing\Middleware\SubstituteBindings::class, ], ]; /** * The application's route middleware. * * These middleware may be assigned to groups or used individually. * * @var array
*/ protected $routeMiddleware = [ 'auth' => \App\Http\Middleware\Authenticate::class, 'checkStatus' => \App\Http\Middleware\CheckSmsStatus::class, 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class, 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 'can' => \Illuminate\Auth\Middleware\Authorize::class, 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, 'signed' => \App\Http\Middleware\ValidateSignature::class, 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 'app.mode' => \App\Http\Middleware\Admin\AppModeGuard::class, 'app.mode.api' => \App\Http\Middleware\Admin\AppModeGuardApi::class, 'module' => \App\Http\Middleware\Admin\ModuleSetting::class, 'virtual_card_method' => \App\Http\Middleware\Admin\VirtualCardSystem::class, 'admin.login.guard' => \App\Http\Middleware\Admin\LoginGuard::class, 'admin.role.guard' => \App\Http\Middleware\Admin\RoleGuard::class, 'mail' => \App\Http\Middleware\Admin\MailGuard::class, 'admin.delete.guard' => \App\Http\Middleware\Admin\AdminDeleteGuard::class, 'admin.role.delete.guard' => \App\Http\Middleware\Admin\RoleDeleteGuard::class, 'verification.guard' => \App\Http\Middleware\VerificationGuard::class, 'verification.guard.merchant' => \App\Http\Middleware\Merchant\VerificationGuard::class, 'verification.guard.api' => \App\Http\Middleware\User\VerificationGuardApi::class, 'user.google.two.factor' => \App\Http\Middleware\User\GoogleTwoFactor::class, 'user.google.two.factor.api' => \App\Http\Middleware\User\GoogleTwoFactorApi::class, 'merchant.google.two.factor' => \App\Http\Middleware\Merchant\GoogleTwoFactor::class, 'merchant.google.two.factor.api' => \App\Http\Middleware\Merchant\GoogleTwoFactorApi::class, 'auth.api' => \App\Http\Middleware\ApiAuthenticator::class, 'merchant.api' => \App\Http\Middleware\Merchant\ApiAuthenticator::class, 'agent.api' => \App\Http\Middleware\Agent\ApiAuthenticator::class, 'CheckStatusApiUser' => \App\Http\Middleware\CheckStatusApiUser::class, 'CheckStatusApiMerchant' => \App\Http\Middleware\Merchant\CheckStatusApi::class, 'CheckStatusApiAgent' => \App\Http\Middleware\Merchant\CheckStatusApi::class, ]; }