feat(character-detail): 상세 화면 도입 및 네비게이션/API 연동

This commit is contained in:
Yu Sung
2025-09-02 01:10:41 +09:00
parent 26271e421d
commit f11120b8d0
12 changed files with 571 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ import Moya
enum CharacterApi {
case getCharacterHome
case getCharacterDetail(characterId: Int)
}
extension CharacterApi: TargetType {
@@ -19,6 +20,9 @@ extension CharacterApi: TargetType {
switch self {
case .getCharacterHome:
return "/api/chat/character/main"
case .getCharacterDetail(let characterId):
return "/api/chat/character/\(characterId)"
}
}