From 48bf47bc4d04bbe78feda2b01cf1db6b42e85d0f Mon Sep 17 00:00:00 2001 From: youz2me Date: Fri, 19 Jul 2024 06:23:41 +0900 Subject: [PATCH] =?UTF-8?q?feat/#240=20API=20=EB=AA=85=EC=84=B8=20?= =?UTF-8?q?=EB=B0=98=EC=98=81=20=EB=B0=8F=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Network/DTO/Model/Promises/PromiseInfoResponseModel.swift | 3 ++- .../Promise/PromiseInfo/Service/PromiseInfoService.swift | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/KkuMulKum/Network/DTO/Model/Promises/PromiseInfoResponseModel.swift b/KkuMulKum/Network/DTO/Model/Promises/PromiseInfoResponseModel.swift index 53554514..0f0b285d 100644 --- a/KkuMulKum/Network/DTO/Model/Promises/PromiseInfoResponseModel.swift +++ b/KkuMulKum/Network/DTO/Model/Promises/PromiseInfoResponseModel.swift @@ -12,10 +12,11 @@ import Foundation struct PromiseInfoModel: ResponseModelType { let promiseID: Int - let placeName, address, roadAddress, time, dressUpLevel, penalty: String + let promiseName, placeName, address, roadAddress, time, dressUpLevel, penalty: String enum CodingKeys: String, CodingKey { case promiseID = "promiseId" + case promiseName case placeName case address case roadAddress diff --git a/KkuMulKum/Source/Promise/PromiseInfo/Service/PromiseInfoService.swift b/KkuMulKum/Source/Promise/PromiseInfo/Service/PromiseInfoService.swift index 50756154..001bc6cc 100644 --- a/KkuMulKum/Source/Promise/PromiseInfo/Service/PromiseInfoService.swift +++ b/KkuMulKum/Source/Promise/PromiseInfo/Service/PromiseInfoService.swift @@ -15,6 +15,7 @@ class MockPromiseInfoService: PromiseInfoServiceType { func getPromiseInfo(with promiseId: Int) -> ResponseBodyDTO? { let mockData = PromiseInfoModel( promiseID: 1, + promiseName: "dd", placeName: "홍대입구", address: "대현동 90-35", roadAddress: "서울 서대문구 이화여대1길 28",