From 4ac203be1805a78236a10c4661776bb2db38097d Mon Sep 17 00:00:00 2001 From: Klaus Date: Wed, 30 Sep 2026 13:36:24 +0900 Subject: [PATCH] =?UTF-8?q?feat(gift):=20=EC=84=A0=EB=AC=BC=20=ED=91=B8?= =?UTF-8?q?=EC=8B=9C=20=EC=9D=B4=EB=B2=A4=ED=8A=B8=EB=A5=BC=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/kr/co/vividnext/sodalive/fcm/FcmEvent.kt | 5 +++-- .../kotlin/kr/co/vividnext/sodalive/fcm/FcmService.kt | 8 ++++---- .../sodalive/fcm/notification/PushNotificationCategory.kt | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/fcm/FcmEvent.kt b/src/main/kotlin/kr/co/vividnext/sodalive/fcm/FcmEvent.kt index 51c69c77..537d3227 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/fcm/FcmEvent.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/fcm/FcmEvent.kt @@ -25,7 +25,8 @@ enum class FcmDeepLinkValue(val value: String) { SERIES("series"), AUDITION("audition"), COMMUNITY("community"), - CHAT("chat") + CHAT("chat"), + GIFT_DETAIL("gift-detail") } class FcmEvent( @@ -50,7 +51,7 @@ class FcmEvent( val creatorId: Long? = null, val auditionId: Long? = null, val deepLinkValue: FcmDeepLinkValue? = null, - val deepLinkId: Long? = null, + val deepLinkId: Any? = null, val deepLinkCommentPostId: Long? = null, val commentParentId: Long? = null, val myMemberId: Long? = null, diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/fcm/FcmService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/fcm/FcmService.kt index cd02bdce..e0ba0bda 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/fcm/FcmService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/fcm/FcmService.kt @@ -32,7 +32,7 @@ class FcmService( creatorId: Long? = null, auditionId: Long? = null, deepLinkValue: FcmDeepLinkValue? = null, - deepLinkId: Long? = null, + deepLinkId: Any? = null, deepLinkCommentPostId: Long? = null, chatType: String? = null ) { @@ -118,7 +118,7 @@ class FcmService( private fun createDeepLink( deepLinkValue: FcmDeepLinkValue?, - deepLinkId: Long?, + deepLinkId: Any?, deepLinkCommentPostId: Long? ): String? { return buildDeepLink(serverEnv, deepLinkValue, deepLinkId, deepLinkCommentPostId) @@ -194,7 +194,7 @@ class FcmService( fun buildDeepLink( serverEnv: String, deepLinkValue: FcmDeepLinkValue?, - deepLinkId: Long?, + deepLinkId: Any?, deepLinkCommentPostId: Long? = null ): String? { if (deepLinkValue == null || deepLinkId == null) { @@ -222,7 +222,7 @@ class FcmService( creatorId: Long? = null, auditionId: Long? = null, deepLinkValue: FcmDeepLinkValue? = null, - deepLinkId: Long? = null, + deepLinkId: Any? = null, deepLinkCommentPostId: Long? = null, deepLink: String? = null, chatType: String? = null diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/fcm/notification/PushNotificationCategory.kt b/src/main/kotlin/kr/co/vividnext/sodalive/fcm/notification/PushNotificationCategory.kt index 72b1a4b0..64deded3 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/fcm/notification/PushNotificationCategory.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/fcm/notification/PushNotificationCategory.kt @@ -6,6 +6,7 @@ enum class PushNotificationCategory(val code: String) { COMMUNITY("community"), MESSAGE("message"), AUDITION("audition"), + GIFT("gift"), SYSTEM("system"); companion object {