Skip to content

Conversation

@Moon-ju-young
Copy link
Contributor

📌 변경 사항 개요

  • notice API 함수들을 구현했습니다.
  • noticeApi 파일의 type들을 리팩토링하였습니다.

📝 상세 내용

  • getNotices : GET /notices 함수
  • getShopNotices : GET /shops/{shop_id}/notices 함수
  • postShopNotice : POST /shops/{shop_id}/notices 함수
  • getShopNotice : GET /shops/{shop_id}/notices/{notice_id} 함수
  • putShopNotice : PUT /shops/{shop_id}/notices/{notice_id} 함수

🔗 관련 이슈

Resolves: #76

🖼️ 스크린샷(선택사항)

💡 참고 사항

  • Shop 이 붙은 API 함수들의 이름에서 Shop을 빼고 getNotices > getTotalNotices 이런 식으로 바꿀까 생각도 했는데 일단은 최대한 api url과 비슷하게 두었습니다.
  • putShopNotice의 마감된 공고는 수정할 수 없습니다 빼고 일단 동작하는 것을 테스트 완료했습니다.

@Moon-ju-young Moon-ju-young self-assigned this Jun 19, 2025
@Moon-ju-young Moon-ju-young added ✨ 기능 추가/구현 새로운 기능을 추가하거나 구현했어요! ♻️ 리팩토링 코드 리팩토링 labels Jun 19, 2025
@Moon-ju-young Moon-ju-young linked an issue Jun 19, 2025 that may be closed by this pull request
5 tasks
Copy link
Collaborator

@Yun-Jinwoo Yun-Jinwoo left a comment

Choose a reason for hiding this comment

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

👍👍고생하셨습니다~

Copy link
Collaborator

@minimo-9 minimo-9 left a comment

Choose a reason for hiding this comment

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

굿굿입니다!

@Moon-ju-young Moon-ju-young merged commit cc11c1c into develop Jun 19, 2025
2 checks passed
@Moon-ju-young Moon-ju-young deleted the feat/76-api-notice branch June 19, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️ 리팩토링 코드 리팩토링 ✨ 기능 추가/구현 새로운 기능을 추가하거나 구현했어요!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] notice API 함수 구현

4 participants