refactor(lang-detect): LanguageDetectEvent ID 필드를 단일 id로 통합

- LanguageDetectEvent의 contentId/commentId를 제거하고 공통 id(Long) 필드로 단순화
- LanguageDetectListener에서 targetType에 따라 id를 AudioContent/AudioContentComment/CharacterComment 조회에 사용하도록 수정
- AudioContentService, AudioContentCommentService, AudioContentDonationService, CharacterCommentService 등 이벤트 발행부를 새 시그니처(id + targetType)로 정리
This commit is contained in:
2025-11-25 16:32:29 +09:00
parent 619ceeea24
commit 8f4544ad71
5 changed files with 10 additions and 23 deletions

View File

@@ -344,7 +344,7 @@ class AudioContentService(
applicationEventPublisher.publishEvent(
LanguageDetectEvent(
contentId = audioContent.id!!,
id = audioContent.id!!,
query = papagoQuery
)
)