라이브 예약 후 시작 시 푸시 - 테스트

This commit is contained in:
Klaus 2023-09-07 22:35:08 +09:00
parent 8b30c1c319
commit 27c40da7b4
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ class FcmSendListener(
@Transactional(propagation = Propagation.REQUIRES_NEW)
fun send(fcmEvent: FcmEvent) {
logger.info("발송타입 - ${fcmEvent.type}")
logger.info("os - ${fcmEvent.container}")
when (fcmEvent.type) {
FcmEventType.ALL -> {
@ -127,6 +128,7 @@ class FcmSendListener(
)
for (tokens in pushTokens) {
logger.info("토큰 - $tokens")
pushService.send(
tokens = tokens,
title = fcmEvent.title,