관리자 - 푸시 발송

- 본인 인증 여부에 따라 푸시 메시지를 발송할 수 있도록 isAuth 플래그 추가
This commit is contained in:
Klaus 2023-11-24 15:03:15 +09:00
parent 3ada2dea87
commit 84102bb95a
3 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ class ChargeEventService(
title = chargeEvent.title, title = chargeEvent.title,
message = "$additionalCan 캔이 추가 지급되었습니다.", message = "$additionalCan 캔이 추가 지급되었습니다.",
recipients = listOf(member.id!!), recipients = listOf(member.id!!),
isAuth = false isAuth = null
) )
) )
} }
@ -103,7 +103,7 @@ class ChargeEventService(
title = "첫 충전 이벤트", title = "첫 충전 이벤트",
message = "$additionalCan 캔이 추가 지급되었습니다.", message = "$additionalCan 캔이 추가 지급되었습니다.",
recipients = listOf(member.id!!), recipients = listOf(member.id!!),
isAuth = false isAuth = null
) )
) )
} }

View File

@ -78,7 +78,7 @@ class AdsChargeService(
title = "제휴보상", title = "제휴보상",
message = "${adsCharge.point.toInt()} 캔이 지급되었습니다.", message = "${adsCharge.point.toInt()} 캔이 지급되었습니다.",
recipients = listOf(member.id!!), recipients = listOf(member.id!!),
isAuth = false isAuth = null
) )
) )
} }

View File

@ -341,7 +341,7 @@ class AudioContentService(
title = "콘텐츠 등록완료", title = "콘텐츠 등록완료",
message = audioContent.title, message = audioContent.title,
recipients = listOf(audioContent.member!!.id!!), recipients = listOf(audioContent.member!!.id!!),
isAuth = audioContent.isAdult, isAuth = null,
contentId = contentId contentId = contentId
) )
) )