feat: 로그인 응답 메뉴에 외부 링크 정보 추가 (is_external, external_url)

This commit is contained in:
2025-11-06 20:00:20 +09:00
parent e99d3916c1
commit ae527f90e8
2 changed files with 4 additions and 2 deletions

View File

@@ -299,7 +299,7 @@ public static function getUserInfoForLogin(int $userId): array
->whereIn('id', $allowedMenuIds)
->orderBy('parent_id')
->orderBy('sort_order')
->get(['id', 'parent_id', 'name', 'url', 'icon', 'sort_order'])
->get(['id', 'parent_id', 'name', 'url', 'icon', 'sort_order', 'is_external', 'external_url'])
->toArray();
}