-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* ✨ Feat: #40 - 비밀번호 찾기 SendCertifyCode API 연결 * ✨ Feat: #40 - SendCertifyCode API 연결 및 UI연동 * ✨ Feat: #40 - confirmCertifyCode, reSettingPassword API 로직 작성 * ✨ Feat: #40 - 재전송 버튼 누를 시, sendCertifyCode 재호출 및 타이머 초기화 * ✨ Feat: #40 - confirmCertifyCode API -> UI바인딩 완료 * 📝 Clore: path 변경내용 적용 * ✨ Feat: #40 - 비밀번호 변경 완 (화면 전환 로직 수정 필요,,,) * conflict fix -> 체리픽
- Loading branch information
Showing
27 changed files
with
565 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// ConfirmCertifyCodeDTO.swift | ||
// CMC | ||
// | ||
// Created by Siri on 11/25/23. | ||
// Copyright © 2023 com.softsquared.cmc. All rights reserved. | ||
// | ||
|
||
// MARK: - ConfirmCertifyCodeDTO | ||
struct ConfirmCertifyCodeDTO: Codable { | ||
let isSuccess: Bool | ||
let code: String | ||
let message: String | ||
let result: String | ||
|
||
func toDomain() -> ConfirmCertifyCodeModel { | ||
return ConfirmCertifyCodeModel( | ||
message: result | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// ResettingPasswordDTO.swift | ||
// CMC | ||
// | ||
// Created by Siri on 11/25/23. | ||
// Copyright © 2023 com.softsquared.cmc. All rights reserved. | ||
// | ||
|
||
// MARK: - RessetingPasswordDTO | ||
struct ResettingPasswordDTO: Codable { | ||
let isSuccess: Bool | ||
let code: String | ||
let message: String | ||
let result: String | ||
|
||
func toDomain() -> ResettingPasswordModel { | ||
return ResettingPasswordModel( | ||
message: result | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// SendCertifyCodeDTO.swift | ||
// CMC | ||
// | ||
// Created by Siri on 11/25/23. | ||
// Copyright © 2023 com.softsquared.cmc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
// MARK: - SendCertifyCodeDTO | ||
struct SendCertifyCodeDTO: Codable { | ||
let isSuccess: Bool | ||
let code: String | ||
let message: String | ||
let result: String | ||
|
||
func toDomain() -> SendCertifyCodeModel { | ||
return SendCertifyCodeModel( | ||
message: result | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
CMC/Sources/Data/NetworkService/Body/Auth/ConfirmCertifyCodeBody.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// ConfirmCertifyCodeBody.swift | ||
// CMC | ||
// | ||
// Created by Siri on 11/25/23. | ||
// Copyright © 2023 com.softsquared.cmc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
// MARK: - ConfirmCertifyCodeBody | ||
struct ConfirmCertifyCodeBody: Codable { | ||
let email: String | ||
let code: String | ||
} |
15 changes: 15 additions & 0 deletions
15
CMC/Sources/Data/NetworkService/Body/Auth/ResettingPasswordBody.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// ResettingPasswordBody.swift | ||
// CMC | ||
// | ||
// Created by Siri on 11/25/23. | ||
// Copyright © 2023 com.softsquared.cmc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
// MARK: - ResettingPasswordBody | ||
struct ResettingPasswordBody: Codable { | ||
let email: String | ||
let password: String | ||
} |
14 changes: 14 additions & 0 deletions
14
CMC/Sources/Data/NetworkService/Body/Auth/SendCertifyCodeQuery.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// SendCertifyCodeQuery.swift | ||
// CMC | ||
// | ||
// Created by Siri on 11/25/23. | ||
// Copyright © 2023 com.softsquared.cmc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
// MARK: - SendCertifyCodeQuery | ||
struct SendCertifyCodeQuery: Codable { | ||
let email: String | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
CMC/Sources/Domain/Models/Auth/ConfirmCertifyCodeModel.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// ConfirmCertifyCodeModel.swift | ||
// CMC | ||
// | ||
// Created by Siri on 11/25/23. | ||
// Copyright © 2023 com.softsquared.cmc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
// MARK: - ConfirmCertifyCodeModel | ||
struct ConfirmCertifyCodeModel: Codable { | ||
let message: String | ||
} |
14 changes: 14 additions & 0 deletions
14
CMC/Sources/Domain/Models/Auth/ResettingPasswordModel.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// ResettingPasswordModel.swift | ||
// CMC | ||
// | ||
// Created by Siri on 11/25/23. | ||
// Copyright © 2023 com.softsquared.cmc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
// MARK: - ResettingPasswordModel | ||
struct ResettingPasswordModel: Codable { | ||
let message: String | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// SendCertifyCodeModel.swift | ||
// CMC | ||
// | ||
// Created by Siri on 11/25/23. | ||
// Copyright © 2023 com.softsquared.cmc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
// MARK: - SendCertifyCodeModel | ||
struct SendCertifyCodeModel: Codable { | ||
let message: String | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.