test #14

Merged
klaus merged 3 commits from test into main 2023-08-24 14:54:38 +00:00
2 changed files with 15 additions and 2 deletions
Showing only changes of commit 9126671581 - Show all commits

View File

@ -265,6 +265,17 @@ class AudioContentService(
audioContent.content = content
audioContent.duration = duration
applicationEventPublisher.publishEvent(
FcmEvent(
type = FcmEventType.INDIVIDUAL,
title = "콘텐츠 등록완료",
message = audioContent.title,
recipients = listOf(audioContent.member!!.id!!),
isAuth = audioContent.isAdult,
contentId = contentId
)
)
applicationEventPublisher.publishEvent(
FcmEvent(
type = FcmEventType.UPLOAD_CONTENT,

View File

@ -65,7 +65,8 @@ class FcmSendListener(
tokens = tokens,
title = fcmEvent.title,
message = fcmEvent.message,
container = "ios"
container = "ios",
contentId = fcmEvent.contentId
)
}
}
@ -76,7 +77,8 @@ class FcmSendListener(
tokens = tokens,
title = fcmEvent.title,
message = fcmEvent.message,
container = "aos"
container = "aos",
contentId = fcmEvent.contentId
)
}
}