Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public ApiResponse<AmateurShowResponseDTO.AmateurShowResult> getAmateurShow(@Aut
@GetMapping("/ranking")
@Operation(summary = "소극장 공연 랭킹 조회 API")
public ApiResponse<List<AmateurShowResponseDTO.AmateurShowList>> getShowRanking(@AuthenticationPrincipal(expression = "member") Member member) {
return ApiResponse.onSuccess(amateurService.getShowRanking(member.getId()));
return ApiResponse.onSuccess(amateurService.getRecentlyHotShow(member.getId()));
}

@GetMapping("/today")
Expand All @@ -89,9 +89,9 @@ public ApiResponse<List<AmateurShowResponseDTO.AmateurShowList>> getShowClosing(
return ApiResponse.onSuccess(amateurService.getShowClosing(member.getId()));
}

@GetMapping("/incoming")
@Operation(summary = "공연 임박인 공연 조회 API")
public ApiResponse<List<AmateurShowResponseDTO.AmateurShowList>> getShowIncoming(@AuthenticationPrincipal(expression = "member") Member member) {
return ApiResponse.onSuccess(amateurService.getRecentlyHotShow(member.getId()));
}
// @GetMapping("/incoming")
// @Operation(summary = "공연 임박인 공연 조회 API")
// public ApiResponse<List<AmateurShowResponseDTO.AmateurShowList>> getShowIncoming(@AuthenticationPrincipal(expression = "member") Member member) {
// return ApiResponse.onSuccess(amateurService.getRecentlyHotShow(member.getId()));//
// }
}