@@ -1083,7 +1083,7 @@ class LiveRoomService(
|
||||
val host = room.member ?: throw SodaException("잘못된 요청입니다.")
|
||||
|
||||
if (host.role != MemberRole.CREATOR) {
|
||||
throw SodaException("비비드넥스트와 계약한\n크리에이터에게만 후원을 하실 수 있습니다.")
|
||||
throw SodaException("주식회사 소다라이브와 계약한\n크리에이터에게만 후원을 하실 수 있습니다.")
|
||||
}
|
||||
|
||||
canPaymentService.spendCan(
|
||||
@@ -1129,7 +1129,7 @@ class LiveRoomService(
|
||||
val host = room.member ?: throw SodaException("잘못된 요청입니다.")
|
||||
|
||||
if (host.role != MemberRole.CREATOR) {
|
||||
throw SodaException("비비드넥스트와 계약한\n크리에이터에게만 후원을 하실 수 있습니다.")
|
||||
throw SodaException("주식회사 소다라이브와 계약한\n크리에이터에게만 후원을 하실 수 있습니다.")
|
||||
}
|
||||
|
||||
canPaymentService.spendCan(
|
||||
@@ -1272,12 +1272,12 @@ class LiveRoomService(
|
||||
val host = room.member ?: throw SodaException("잘못된 요청입니다.")
|
||||
|
||||
if (host.role != MemberRole.CREATOR) {
|
||||
throw SodaException("비비드넥스트와 계약한\n크리에이터에게만 후원을 하실 수 있습니다.")
|
||||
throw SodaException("주식회사 소다라이브와 계약한\n크리에이터에게만 후원을 하실 수 있습니다.")
|
||||
}
|
||||
|
||||
canPaymentService.spendCan(
|
||||
memberId = member.id!!,
|
||||
needCan = 1,
|
||||
needCan = request.heartCount ?: 1,
|
||||
canUsage = CanUsage.HEART,
|
||||
isSecret = false,
|
||||
liveRoom = room,
|
||||
|
||||
@@ -2,5 +2,6 @@ package kr.co.vividnext.sodalive.live.room.like
|
||||
|
||||
data class LiveRoomLikeHeartRequest(
|
||||
val roomId: Long,
|
||||
val container: String
|
||||
val container: String,
|
||||
val heartCount: Int? = null
|
||||
)
|
||||
|
||||
@@ -135,7 +135,7 @@ class NewRouletteService(
|
||||
val host = room.member ?: throw SodaException("잘못된 요청입니다.")
|
||||
|
||||
if (host.role != MemberRole.CREATOR) {
|
||||
throw SodaException("비비드넥스트와 계약한\n크리에이터의 룰렛만 사용하실 수 있습니다.")
|
||||
throw SodaException("주식회사 소다라이브와 계약한\n크리에이터의 룰렛만 사용하실 수 있습니다.")
|
||||
}
|
||||
|
||||
// STEP 2 - 룰렛 데이터 가져오기
|
||||
|
||||
@@ -134,7 +134,7 @@ class RouletteService(
|
||||
val host = room.member ?: throw SodaException("잘못된 요청입니다.")
|
||||
|
||||
if (host.role != MemberRole.CREATOR) {
|
||||
throw SodaException("비비드넥스트와 계약한\n크리에이터의 룰렛만 사용하실 수 있습니다.")
|
||||
throw SodaException("주식회사 소다라이브와 계약한\n크리에이터의 룰렛만 사용하실 수 있습니다.")
|
||||
}
|
||||
|
||||
// STEP 2 - 룰렛 데이터 가져오기
|
||||
|
||||
Reference in New Issue
Block a user