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

어플리에이트 기능 개발 : 진행 중 #18

Open
changminkim-329 opened this issue Dec 2, 2023 · 1 comment
Open

어플리에이트 기능 개발 : 진행 중 #18

changminkim-329 opened this issue Dec 2, 2023 · 1 comment
Assignees
Labels

Comments

@changminkim-329
Copy link
Member

changminkim-329 commented Dec 2, 2023

어플리에이트 기능 및 찜 관련 API 개발

@changminkim-329
Copy link
Member Author

changminkim-329 commented Dec 3, 2023

수정사항

  • /api/v1/wishes/{user_id} [GET] -> /api/v1/wishes [JWT 토큰에서 userId 추출 하기 때문에]
  • /api/v1/wishes [POST] -> productId 만 보내게 하기
  • /api/v1/wishes/{wish_id} [DELETE] -> /api/v1/wishes/{product_code}
  • 위의 api에 대해서 해당 유저의 wish만을 삭제 (지금 코드의 경우 모든 유저의 wish에 대해서 삭제 할 수 있음 보안상 문제)
  • /api/v1/selling -> /api/v1/affiliates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants