adminToken(); $token_info = (new LoginService())->parseToken($token); $request->uid($token_info['uid']); $request->username($token_info['username']); if(!$is_home){ //校对当前登录的用户是否拥有这个站点的管理权限 (new AuthService())->checkSiteAuth($request); } return $next($request); } }