From 90880f0b4797006d9979fd823e13fcc3c63b3f2b Mon Sep 17 00:00:00 2001 From: YuJeong Date: Fri, 30 Aug 2024 20:31:21 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20MyPageItem=20url=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?=20(#44)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PLUV/Platform/State/MyPageItem.swift | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/PLUV/Platform/State/MyPageItem.swift b/PLUV/Platform/State/MyPageItem.swift index 9b3c584..213e262 100644 --- a/PLUV/Platform/State/MyPageItem.swift +++ b/PLUV/Platform/State/MyPageItem.swift @@ -25,4 +25,17 @@ enum MyPageItem: Int, CaseIterable { "๋กœ๊ทธ์•„์›ƒ" } } + + var url: String { + switch self { + case .Inquiry: + EndPoint.inquiry.path + case .TermsOfService: + EndPoint.termsOfService.path + case .PrivacyPolicy: + EndPoint.privacyPolicy.path + case .LogOut: + "" + } + } }