feat(live-room-heart): like-heart API의 request에 heartCount를 추가하여 왕하트(100개)를 쓸 수 있도록 수정
This commit is contained in:
@@ -1277,7 +1277,7 @@ class LiveRoomService(
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user