feat(gift): 선물 푸시 이벤트를 추가한다

This commit is contained in:
2026-09-30 13:36:24 +09:00
parent 57bb57ffb5
commit 4ac203be18
3 changed files with 8 additions and 6 deletions
@@ -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,
@@ -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
@@ -6,6 +6,7 @@ enum class PushNotificationCategory(val code: String) {
COMMUNITY("community"),
MESSAGE("message"),
AUDITION("audition"),
GIFT("gift"),
SYSTEM("system");
companion object {