route()->getDomain(); //// if(!in_array($route , $arr)) { //// return 'Not Permission!'; //// } return $next($request); } }