♻️ Refactor: 주문상태 조회 api 연동 #163
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
작업 내용
이러한 변경이 이루어지는 이유는 무엇인가요?
테스트 방법
( 아직 주문상태조회 API
api/v1/orders/[order_id]/status가 배포가 되지 않은 상태라 mock 데이터로 테스트해주세요! )주문id 1~6까지 주문상태페이지 확인(
http://localhost:3000/orders/detail/[1~6])신규,진행중인 경우 5초마다 status api 호출주문상세조회api의 응답값혹은src/mocks/handlers/orders.ts/DUMMY_ORDER_LIST에서 확인하실 수 있습니다.EX)
주문대기 -> NEW,주문접수 -> ONGOING,주문수락 -> DONE,나머지 -> 그대로병합 전 체크리스트