Skip to content

Commit

Permalink
add gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
JunseokNoh committed Aug 12, 2021
1 parent c339ea6 commit c8c339a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

KNU_CSE/KNU_CSE/Network Service/Base/BaseApiRequest.swift
3 changes: 3 additions & 0 deletions KNU_CSE/KNU_CSE/Network Service/Base/BaseApiRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ extension BaseApiRequest{
return getAddress(domain: "board/write")
case .getBoardCategory(let category):
return getAddress(domain: "board/findCategory?category=\(category)")
case .getBoardPaging(let category, let page, let size):
return getAddress(domain: "board/list?category=\(category)&page=\(page)&size=\(size)")
case .getBoard(let boardId):
return getAddress(domain: "board/\(boardId)")
case .writeComment:
Expand Down Expand Up @@ -129,6 +131,7 @@ enum Environment{
case CodeConfirm
case BoardWrite
case getBoardCategory(String)
case getBoardPaging(String,Int,Int)
case getBoard(Int)
case writeComment
case writeReply
Expand Down

0 comments on commit c8c339a

Please sign in to comment.