From 52b63fb0f0c5e58e16a17e252d967a156542a578 Mon Sep 17 00:00:00 2001 From: jhbkjh Date: Thu, 30 Oct 2025 16:49:31 +0900 Subject: [PATCH] =?UTF-8?q?frontend=20=EC=97=B0=EB=8F=99=EC=9D=84=20?= =?UTF-8?q?=EC=9C=84=ED=95=B4=20=EC=9E=84=EC=8B=9C=20=EC=BB=A4=EB=B0=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../presentation/controller/ParticipationController.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/participation-service/src/main/java/com/kt/event/participation/presentation/controller/ParticipationController.java b/participation-service/src/main/java/com/kt/event/participation/presentation/controller/ParticipationController.java index d6c01a7..39f8b58 100644 --- a/participation-service/src/main/java/com/kt/event/participation/presentation/controller/ParticipationController.java +++ b/participation-service/src/main/java/com/kt/event/participation/presentation/controller/ParticipationController.java @@ -62,13 +62,14 @@ public class ParticipationController { /** * 참여자 목록 조회 * GET /participations/{eventId}/participants + * GET /events/{eventId}/participants (프론트엔드 호환) */ @Operation( summary = "참여자 목록 조회", description = "이벤트의 참여자 목록을 페이징하여 조회합니다. " + "정렬 가능한 필드: createdAt(기본값), participantId, name, phoneNumber, bonusEntries, isWinner, wonAt" ) - @GetMapping("/participations/{eventId}/participants") + @GetMapping({"/participations/{eventId}/participants", "/events/{eventId}/participants"}) public ResponseEntity>> getParticipants( @Parameter(description = "이벤트 ID", example = "evt_20250124_001") @PathVariable String eventId, @@ -90,8 +91,9 @@ public class ParticipationController { /** * 참여자 상세 조회 * GET /participations/{eventId}/participants/{participantId} + * GET /events/{eventId}/participants/{participantId} (프론트엔드 호환) */ - @GetMapping("/participations/{eventId}/participants/{participantId}") + @GetMapping({"/participations/{eventId}/participants/{participantId}", "/events/{eventId}/participants/{participantId}"}) public ResponseEntity> getParticipant( @PathVariable String eventId, @PathVariable String participantId) {