header('login_type'); $systemCode = $request->header('system_code'); $corpAbbr = $request->header('corp_abbr'); $basicDataService = new BasicDataService(); if ($basicDataService->checkAndCacheBaseParams($loginType, $systemCode, $corpAbbr)) { $request->login_type = $loginType; $request->system_code = $systemCode; $request->corp_abbr = $corpAbbr; } return $next($request); } catch (\Throwable $th) { throw $th; } } }