diff --git a/app/Services/MemberService.php b/app/Services/MemberService.php index c97e586..969b347 100644 --- a/app/Services/MemberService.php +++ b/app/Services/MemberService.php @@ -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(); } diff --git a/app/Swagger/v1/AuthApi.php b/app/Swagger/v1/AuthApi.php index 3f46763..63164da 100644 --- a/app/Swagger/v1/AuthApi.php +++ b/app/Swagger/v1/AuthApi.php @@ -138,7 +138,9 @@ public function debugApiKey() {} * @OA\Property(property="name", type="string", example="대시보드"), * @OA\Property(property="url", type="string", nullable=true, example="/dashboard"), * @OA\Property(property="icon", type="string", nullable=true, example="dashboard"), - * @OA\Property(property="sort_order", type="integer", example=1) + * @OA\Property(property="sort_order", type="integer", example=1), + * @OA\Property(property="is_external", type="boolean", example=false, description="외부 링크 여부"), + * @OA\Property(property="external_url", type="string", nullable=true, example="https://example.com", description="외부 링크 URL") * ) * ) * )