feat(live-room-heart): like-heart API의 request에 heartCount를 추가하여 왕하트(100개)를 쓸 수 있도록 수정

This commit is contained in:
2025-11-03 11:30:42 +09:00
parent 01fad8d93c
commit 8fb3bd578f
2 changed files with 3 additions and 2 deletions

View File

@@ -1277,7 +1277,7 @@ class LiveRoomService(
canPaymentService.spendCan( canPaymentService.spendCan(
memberId = member.id!!, memberId = member.id!!,
needCan = 1, needCan = request.heartCount ?: 1,
canUsage = CanUsage.HEART, canUsage = CanUsage.HEART,
isSecret = false, isSecret = false,
liveRoom = room, liveRoom = room,

View File

@@ -2,5 +2,6 @@ package kr.co.vividnext.sodalive.live.room.like
data class LiveRoomLikeHeartRequest( data class LiveRoomLikeHeartRequest(
val roomId: Long, val roomId: Long,
val container: String val container: String,
val heartCount: Int? = null
) )