feat(creator-cheers): 팬 Talk 응원글 조회시 결과에 언어 코드 추가

This commit is contained in:
2025-11-25 18:05:08 +09:00
parent c5fa260a0d
commit ddd46d585e
2 changed files with 3 additions and 0 deletions

View File

@@ -488,6 +488,7 @@ class ExplorerQueryRepository(
"$cloudFrontHost/profile/default-profile.png"
},
content = it.cheers,
languageCode = it.languageCode,
date = date.format(DateTimeFormatter.ofPattern("yyyy.MM.dd E hh:mm a")),
replyList = it.children.asSequence()
.map { cheers ->
@@ -505,6 +506,7 @@ class ExplorerQueryRepository(
"$cloudFrontHost/profile/default-profile.png"
},
content = cheers.cheers,
languageCode = cheers.languageCode,
date = replyDate.format(DateTimeFormatter.ofPattern("yyyy.MM.dd E hh:mm a")),
replyList = listOf()
)

View File

@@ -11,6 +11,7 @@ data class GetCheersResponseItem(
val nickname: String,
val profileUrl: String,
val content: String,
val languageCode: String?,
val date: String,
val replyList: List<GetCheersResponseItem>
)