Compare commits

...

4 Commits

Author SHA1 Message Date
jhbkjh
c915bc172e Merge branch 'develop' of https://github.com/ktds-dg0501/kt-event-marketing into develop 2025-10-31 11:53:09 +09:00
jhbkjh
e46f606bb6 Revert "Merge pull request #42 from ktds-dg0501/feature/partici23"
This reverts commit 6a49255fbb51ce2cb119faf0ef3065d68ba22bdd.
2025-10-31 11:52:17 +09:00
Hyowon Yang
167eeb4291
Merge pull request #43 from ktds-dg0501/feature/analytics
json파일 수정
2025-10-31 11:42:27 +09:00
Hyowon Yang
3dd685e52d json파일 수정 2025-10-31 11:41:08 +09:00
3 changed files with 11 additions and 11 deletions

View File

@ -150,7 +150,7 @@
},
{
"eventId": "evt_2025020104",
"completedAt": null,
"completedAt": "2025-01-25T09:00:00",
"channels": [
{
"channel": "우리동네TV",

View File

@ -34,9 +34,9 @@ public class ParticipationController {
/**
* 이벤트 참여
* POST /{eventId}/participate
* POST /events/{eventId}/participate
*/
@PostMapping("/{eventId}/participate")
@PostMapping("/events/{eventId}/participate")
public ResponseEntity<ApiResponse<ParticipationResponse>> participate(
@PathVariable String eventId,
@Valid @RequestBody ParticipationRequest request) {
@ -60,14 +60,14 @@ public class ParticipationController {
/**
* 참여자 목록 조회
* GET /{eventId}/participants
* GET /events/{eventId}/participants
*/
@Operation(
summary = "참여자 목록 조회",
description = "이벤트의 참여자 목록을 페이징하여 조회합니다. " +
"정렬 가능한 필드: createdAt(기본값), participantId, name, phoneNumber, bonusEntries, isWinner, wonAt"
)
@GetMapping({"/{eventId}/participants"})
@GetMapping({"/events/{eventId}/participants"})
public ResponseEntity<ApiResponse<PageResponse<ParticipationResponse>>> getParticipants(
@Parameter(description = "이벤트 ID", example = "evt_20250124_001")
@PathVariable String eventId,
@ -88,9 +88,9 @@ public class ParticipationController {
/**
* 참여자 상세 조회
* GET /{eventId}/participants/{participantId}
* GET /events/{eventId}/participants/{participantId}
*/
@GetMapping({"/{eventId}/participants/{participantId}"})
@GetMapping({"/events/{eventId}/participants/{participantId}"})
public ResponseEntity<ApiResponse<ParticipationResponse>> getParticipant(
@PathVariable String eventId,
@PathVariable String participantId) {

View File

@ -35,9 +35,9 @@ public class WinnerController {
/**
* 당첨자 추첨
* POST /{eventId}/draw-winners
* POST /events/{eventId}/draw-winners
*/
@PostMapping("/{eventId}/draw-winners")
@PostMapping("/events/{eventId}/draw-winners")
public ResponseEntity<ApiResponse<DrawWinnersResponse>> drawWinners(
@PathVariable String eventId,
@Valid @RequestBody DrawWinnersRequest request) {
@ -50,14 +50,14 @@ public class WinnerController {
/**
* 당첨자 목록 조회
* GET /{eventId}/winners
* GET /participations/{eventId}/winners
*/
@Operation(
summary = "당첨자 목록 조회",
description = "이벤트의 당첨자 목록을 페이징하여 조회합니다. " +
"정렬 가능한 필드: winnerRank(기본값), wonAt, participantId, name, phoneNumber, bonusEntries"
)
@GetMapping("/{eventId}/winners")
@GetMapping("/events/{eventId}/winners")
public ResponseEntity<ApiResponse<PageResponse<ParticipationResponse>>> getWinners(
@Parameter(description = "이벤트 ID", example = "evt_20250124_001")
@PathVariable String eventId,