$this->middleware(function($request,Closure $next){
$this->user = Auth::user();
return $next($request);
});
$this->middleware(function($request,Closure $next){
$this->user = Auth::user();
return $next($request);
});
本文标题:5.4后laravel构造函数获取中间件后的参数
本文链接:https://www.haomeiwen.com/subject/owbosqtx.html
网友评论