Compare commits
No commits in common. "01fb3369852dc1a9b1be5c53002a31c3f26594fe" and "b6af88a7323c776dff7612fa5b786767e4c7ff6d" have entirely different histories.
01fb336985
...
b6af88a732
|
@ -168,10 +168,6 @@ class AudioContentService(
|
|||
val theme = themeQueryRepository.findThemeByIdAndActive(id = request.themeId)
|
||||
?: throw SodaException("잘못된 테마입니다. 다시 선택해 주세요.")
|
||||
|
||||
if ((request.themeId == 12L || request.themeId == 13L || request.themeId == 14L) && request.price < 5) {
|
||||
throw SodaException("알람, 모닝콜, 슬립콜 테마의 콘텐츠는 5캔 이상의 유료콘텐츠로 등록이 가능합니다.")
|
||||
}
|
||||
|
||||
if (request.price in 1..4) throw SodaException("콘텐츠의 최소금액은 5캔 입니다.")
|
||||
|
||||
val isOnlyRental = if (request.limited != null && request.limited > 0) {
|
||||
|
|
Loading…
Reference in New Issue