Revert "fix: [tenant-console] 테넌트 콘솔 분리작업"

This reverts commit 8da1702e
This commit is contained in:
2026-03-13 21:24:18 +09:00
parent c3bc7912dd
commit 432888980b
70 changed files with 423 additions and 1173 deletions

View File

@@ -21,11 +21,6 @@ public function __construct(DepartmentPermissionService $departmentPermissionSer
*/
protected function getEffectiveTenantId(Request $request, ?int $departmentId = null): ?int
{
// 명시적 tenant_id 파라미터 우선 (테넌트 콘솔 API 호출)
if ($request->has('tenant_id') && $request->input('tenant_id')) {
return (int) $request->input('tenant_id');
}
$sessionTenantId = session('selected_tenant_id');
// 세션에 특정 테넌트가 선택되어 있으면 그것을 사용