NotificationService

@Service
class NotificationService(notificationRepository: NotificationRepository, userRepository: UserRepository, objectMapper: ObjectMapper)

Constructors

Link copied to clipboard
constructor(notificationRepository: NotificationRepository, userRepository: UserRepository, objectMapper: ObjectMapper)

Functions

Link copied to clipboard
fun getNotifications(email: String, pageable: Pageable): Page<Notification>

유저 별 알림 내역 조회

Link copied to clipboard
fun notificationSubscribe(email: String): SseEmitter

알림 구독 API

Link copied to clipboard
fun sendNotification(notificationRequestDto: NotificationRequestDto, sender: String)

알림 발송 API