getAudioContentRanking - sort-type 추가
This commit is contained in:
parent
d3b12eeef1
commit
275f6049d1
|
@ -154,8 +154,8 @@ class AudioContentController(private val service: AudioContentService) {
|
|||
|
||||
@GetMapping("/ranking")
|
||||
fun getAudioContentRanking(
|
||||
@RequestParam("sort-type", required = false) sortType: String = "매출",
|
||||
@AuthenticationPrincipal(expression = "#this == 'anonymousUser' ? null : member") member: Member?,
|
||||
@RequestParam("sortType", required = false) sortType: String = "매출",
|
||||
pageable: Pageable
|
||||
) = run {
|
||||
if (member == null) throw SodaException("로그인 정보를 확인해주세요.")
|
||||
|
|
Loading…
Reference in New Issue