diff --git a/HMH_iOS/HMH_iOS/Network/Router/AuthRouter.swift b/HMH_iOS/HMH_iOS/Network/Router/AuthRouter.swift index f4c73c79..d05ba337 100644 --- a/HMH_iOS/HMH_iOS/Network/Router/AuthRouter.swift +++ b/HMH_iOS/HMH_iOS/Network/Router/AuthRouter.swift @@ -36,15 +36,15 @@ extension AuthRouter: BaseTargetType { var path: String { switch self { case .socialLogin: - return "user/login" + return "/v1/user/login" case .signUp: - return "user/signup" + return "/v1/user/signup" case .tokenRefresh: - return "user/reissue" + return "/v1/user/reissue" case .revoke: - return "user" + return "/v1/user" case .logout: - return "user/logout" + return "/v1/user/logout" } } diff --git a/HMH_iOS/HMH_iOS/Network/Router/ChallengeRouter.swift b/HMH_iOS/HMH_iOS/Network/Router/ChallengeRouter.swift index 469c0ff0..687ef4e7 100644 --- a/HMH_iOS/HMH_iOS/Network/Router/ChallengeRouter.swift +++ b/HMH_iOS/HMH_iOS/Network/Router/ChallengeRouter.swift @@ -42,19 +42,19 @@ extension ChallengeRouter: BaseTargetType { var path: String { switch self { case .createChallenge: - return "challenge" + return "/v1/challenge" case .dailyChallengeFail: - return "dailychallenge/failure" + return "/v1/dailychallenge/failure" case .getChallenge: - return "challenge" + return "/v1/challenge" case .getdailyChallenge: - return "challenge/home" + return "/v1/challenge/home" case .addApp: - return "challenge/app" + return "/v1/challenge/app" case .deleteApp: - return "challenge/app" + return "/v1/challenge/app" case .postDailyChallenge: - return "challenge/daily/success" + return "/v1/challenge/daily/success" } } diff --git a/HMH_iOS/HMH_iOS/Network/Router/MyPageRouter.swift b/HMH_iOS/HMH_iOS/Network/Router/MyPageRouter.swift index 9ff31f5d..16615b80 100644 --- a/HMH_iOS/HMH_iOS/Network/Router/MyPageRouter.swift +++ b/HMH_iOS/HMH_iOS/Network/Router/MyPageRouter.swift @@ -25,7 +25,7 @@ extension MyPageRouter: BaseTargetType { var path: String { switch self { case .getUserData: - return "user" + return "/v1/user" } } diff --git a/HMH_iOS/HMH_iOS/Network/Router/PointRouter.swift b/HMH_iOS/HMH_iOS/Network/Router/PointRouter.swift index 6e6011be..33dddb65 100644 --- a/HMH_iOS/HMH_iOS/Network/Router/PointRouter.swift +++ b/HMH_iOS/HMH_iOS/Network/Router/PointRouter.swift @@ -39,17 +39,17 @@ extension PointRouter: BaseTargetType { var path: String { switch self { case .getUsagePoint: - return "point/use" + return "/v1/point/use" case .patchEarnPoint : - return "point/earn" + return "/v1/point/earn" case .getEarnPoint : - return "point/earn" + return "/v1/point/earn" case .getPointList: - return "point/list" + return "/v1/point/list" case .patchPointUse: - return "point/use" + return "/v1/point/use" case .getCurrentPoint: - return "user/point" + return "/v1/user/point" } }