Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking โ€œSign up for GitHubโ€, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/#156 ios modifydebatelogic #159

Merged
merged 27 commits into from
Jun 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
305f9e7
chore: Bookmark -> Bookmarks
realhsb Jun 18, 2024
8a92c41
feat: Bookmark API
realhsb Jun 18, 2024
7141ef7
feat: Bookmarks Service
realhsb Jun 18, 2024
e9b2248
chore: Macro ์ ์šฉ ํ›„ @StateObject ์ œ๊ฑฐ
realhsb Jun 18, 2024
b5a7f59
chore: NewsList ๋ทฐ spacing ์‚ญ์ œ
realhsb Jun 18, 2024
67e45ef
feat: ๋ถ๋งˆํฌ๋ทฐ ์ˆ˜์ •
realhsb Jun 18, 2024
82c53db
chore: News ํด๋” ์ˆ˜์ •
realhsb Jun 18, 2024
93999e1
feat: AuthAPI -> LoginService ์ด๋ฆ„ ์ˆ˜์ •
realhsb Jun 18, 2024
f0fc24f
feat: baseURL ์ˆ˜์ •
realhsb Jun 18, 2024
1c20dff
feat: Auth (์„œ๋ฒ„ ํ† ํฐ response) ๋ชจ๋ธ ์ƒ์„ฑ
realhsb Jun 18, 2024
34027cd
feat: login API ์ถ”๊ฐ€
realhsb Jun 18, 2024
b078e14
chore: AuthVM ์ˆ˜์ •
realhsb Jun 18, 2024
3b45212
chore: ๋กœ๊ทธ์ธ ๋ฒ„ํŠผ ๋กœ์ง ์ˆ˜์ •
realhsb Jun 18, 2024
2ee803c
chore: auth ๋ชจ๋ธ ๋ณ€์ˆ˜๋ช… ์ˆ˜์ •
realhsb Jun 18, 2024
fbca176
feat: auth request ๋ชจ๋ธ ์ถ”๊ฐ€
realhsb Jun 18, 2024
6f74dce
chore: auth request ๋ชจ๋ธ ์ ์šฉ
realhsb Jun 18, 2024
2e2914d
chore: auth VM ์ˆ˜์ •
realhsb Jun 18, 2024
2290a33
Merge pull request #153 from tukcomCD2024/feat/#149-ios-bookmarks-api
realhsb Jun 18, 2024
ad8fc2d
fix & feat : ํ† ๋ก ๋ฐฉ ์ƒ์„ฑ API ์—ฐ๋™ ์™„๋ฃŒ
yeahzxnn Jun 19, 2024
8bec2de
fix & feat : ChatGPT์™€์œ ์ €๊ฐ„์˜ ํ† ๋ก  API ๊ตฌํ˜„ ์™„๋ฃŒ
yeahzxnn Jun 19, 2024
fb88f32
feat : ์ตœ๊ทผ ๋ณธ ๋‰ด์Šค API ์—ฐ๋™ํ•˜๊ธฐ
yeahzxnn Jun 19, 2024
0c05871
Merge pull request #155 from tukcomCD2024/Feat/#154_ios_fixdebatepushโ€ฆ
yeahzxnn Jun 19, 2024
330776f
feat : ์ตœ๊ทผ ์ฝ์€ ๋‰ด์Šค ์กฐํšŒ API ์—ฐ๋™ ์™„๋ฃŒ
yeahzxnn Jun 19, 2024
f69c2b5
fix : ChatGPT๊ฐ€ ์ฑ„ํŒ… ์‹œ์ž‘ํ•˜๋Š” ๋กœ์ง์œผ๋กœ ๋ณ€๊ฒฝ
yeahzxnn Jun 19, 2024
fbfb1eb
feat: ํ† ๋ก  ์ข…๋ฃŒ API ์—ฐ๊ฒฐ ๋ฐ ํ† ๋ก  ์š”์•ฝ ํ™”๋ฉด ๋„˜์–ด๊ฐ€๊ธฐ ๊ตฌํ˜„
yeahzxnn Jun 19, 2024
8b3e2a9
fix : ํ† ๋ก  ์ข…๋ฃŒ ํ›„ ๋‹ค์‹œ ์ด์ „ํ™”๋ฉด์œผ๋กœ ๋Œ์•„์˜ค๋Š” ๊ฒƒ์œผ๋กœ ๋กœ์ง ์ˆ˜์ •
yeahzxnn Jun 19, 2024
0f82def
feat: ์ฑ„ํŒ…๋ฐฉ ์กฐํšŒAPI ์—ฐ๋™ ์™„๋ฃŒ
yeahzxnn Jun 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: auth request ๋ชจ๋ธ ์ ์šฉ
  • Loading branch information
realhsb committed Jun 18, 2024
commit 6f74dce9b69a8d6ee78cc4bf2c027392d0cd3f6f
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import Foundation
import Moya

enum LoginService {
case login(token: String, socialType: String)
case login(request: AuthRequestModel)
}

//struct LoginService {
@@ -36,15 +36,15 @@ extension LoginService: BaseTargetType {
}
}

var task: Task {
var task: Moya.Task {
switch self {
case .login(let token, let socialType):
let parameters : [String : Any] = [
"token" : token,
"socialType" : socialType,
]

return .requestParameters(parameters: parameters, encoding: URLEncoding.queryString)
case .login(let request):
// let parameters : [String : Any] = [
// "token" : token,
// "socialType" : socialType,
// ]
// return .requestParameters(parameters: parameters, encoding: URLEncoding.queryString)
return .requestJSONEncodable(request)
}
}