芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/panorama.panoramawholesale.com/app/Http/Middleware/RedirectIfNotCustomer.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Auth; class RedirectIfNotCustomer { /** * Handle an incoming request. * * @return mixed */ public function handle(Request $request, Closure $next, $guard = 'customer') { if (! Auth::guard($guard)->check()) { return redirect('customer'); } return $next($request); } }
Page is not found
Oops! Page not found.
Sorry, an error has occured, Requested page not found!
Back To Homepage