콘텐츠 상세 - 언어 설정에 따라 번역 데이터를 표시하도록 수정

This commit is contained in:
Yu Sung
2025-12-16 23:42:06 +09:00
parent 0285f62ecb
commit 96df4c1f1b
2 changed files with 10 additions and 3 deletions

View File

@@ -42,6 +42,7 @@ struct GetAudioContentDetailResponse: Decodable {
let nextContent: OtherContentResponse?
let buyerList: [ContentBuyer]
let isAvailableUsePoint: Bool
let translated: TranslatedContent?
}
enum OrderType: String, Codable {
@@ -67,3 +68,9 @@ struct ContentBuyer: Decodable {
let nickname: String
let profileImageUrl: String
}
struct TranslatedContent: Decodable {
let title: String?
let detail: String?
let tags: String?
}