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] 요청 상세 조회 API 생성 #57

Merged
merged 1 commit into from
Aug 5, 2023

Conversation

psyeon1120
Copy link
Member

🌱 이슈 번호

close #54


💬 기타 사항

  • none

@psyeon1120 psyeon1120 added 🔮 feat 기능을 생성해요 ! ☀️ seoyeon 서연이가 만든 기능이에요 ! 👩‍💻 orders 요청 도메인 기능이에요 ! labels Aug 5, 2023
@psyeon1120 psyeon1120 self-assigned this Aug 5, 2023
val order: Order = orderRepository.findByIdAndStatus(orderId, ACTIVE_STATUS)
?: throw BaseException(BaseResponseCode.NOT_FOUND_ORDER)
val isSeller = order.product.user.id == user.id
if (order.user.id != user.id && !isSeller) throw BaseException(BaseResponseCode.NO_PERMISSION)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

크 예외처리 최💛

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@sojungpp sojungpp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

체고

@psyeon1120 psyeon1120 merged commit 6dcae29 into develop Aug 5, 2023
1 check passed
@psyeon1120 psyeon1120 deleted the feat/#54-get-order-detail branch August 5, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 feat 기능을 생성해요 ! 👩‍💻 orders 요청 도메인 기능이에요 ! ☀️ seoyeon 서연이가 만든 기능이에요 !
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] 요청 상세 조회 API
3 participants