-
Notifications
You must be signed in to change notification settings - Fork 0
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] 요청 목록 조회 API 생성 #65
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어엇.. 맞네 orderId가 있어야할거 같네요..
공백 줄이는거 너무 좋아요! 충돌날 수 있어서, 우리 API 다 끝나고 공백 줄이는 건 어떻게 생각하시나욤……?😚😚
const val LOGOUT = "logout" | ||
const val ACTIVE_STATUS = "active" | ||
const val INACTIVE_STATUS = "inactive" | ||
} | ||
} | ||
|
||
class USER_EID{ | ||
companion object USER_EID{ | ||
class UserEID{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고냥 QA로 취직하자 ㅎㅅㅎ
// 요청 목록 조회 | ||
@GetMapping | ||
fun getOrderList(@AuthenticationPrincipal userAccount: UserAccount, type: String, status: String): BaseResponse<OrderListRes> { | ||
if (type !in listOf(SELL, ORDER)) return BaseResponse(BaseResponseCode.INVALID_ORDER_TYPE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
옹 이렇게 간편하게 예외처리 할 수 잇군여 !!!!
@@ -0,0 +1,10 @@ | |||
package com.psr.psr.order.dto | |||
|
|||
data class OrderListComp ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comp는 어떤 줄임말인가용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
component인데 orderRes가 이미 있어서 이렇게 지어봤습니당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨숨니다 체고야.
아ㅏ아그러네유,, orderId🥹 파일 탭칸 저도 안 잊게 이슈 만들어두고 마지막에 정리하는거 좋아용 |
🌱 이슈 번호
close #64
💬 기타 사항