feat(chat-room-bg): 배경 이미지 변경 기능 추가

This commit is contained in:
Yu Sung
2025-09-04 16:44:57 +09:00
parent a025e455a0
commit ee67e1eab7
10 changed files with 277 additions and 18 deletions

View File

@@ -12,6 +12,7 @@ enum CharacterApi {
case getCharacterHome
case getCharacterDetail(characterId: Int)
case getCharacterImageList(characterId: Int, page: Int, size: Int)
case getMyCharacterImageList(characterId: Int64, page: Int, size: Int)
}
extension CharacterApi: TargetType {
@@ -27,6 +28,9 @@ extension CharacterApi: TargetType {
case .getCharacterImageList:
return "/api/chat/character/image/list"
case .getMyCharacterImageList:
return "/api/chat/character/image/list"
}
}
@@ -46,6 +50,16 @@ extension CharacterApi: TargetType {
],
encoding: URLEncoding.queryString
)
case .getMyCharacterImageList(let characterId, let page, let size):
return .requestParameters(
parameters: [
"characterId": characterId,
"page": page,
"size": size
],
encoding: URLEncoding.queryString
)
}
}