feat(chat-character-image): 캐릭터 이미지 리스트 API 추가 및 보유 판단 로직 적용

This commit is contained in:
2025-08-21 17:39:19 +09:00
parent 8451cdfb80
commit 13fd262c94
8 changed files with 186 additions and 3 deletions

View File

@@ -72,6 +72,8 @@ class CanService(private val repository: CanRepository) {
CanUsage.ORDER_CONTENT -> "[콘텐츠 구매] ${it.audioContent!!.title}"
CanUsage.PAID_COMMUNITY_POST -> "[게시글 보기] ${it.communityPost?.member?.nickname ?: ""}"
CanUsage.AUDITION_VOTE -> "[오디션 투표] ${it.auditionApplicant?.role?.audition?.title ?: ""}"
CanUsage.CHAT_MESSAGE_PURCHASE -> "[메시지 구매] ${it.characterImage?.chatCharacter?.name ?: ""}"
CanUsage.CHARACTER_IMAGE_PURCHASE -> "[캐릭터 이미지 구매] ${it.characterImage?.chatCharacter?.name ?: ""}"
}
val createdAt = it.createdAt!!