Skip to content

Comments

Buy-sell 서비스에 Image 업로드 브랜치입니다.#42

Merged
HyeonSeongIM merged 6 commits intomainfrom
buy-sell/feat/img
Feb 20, 2025
Merged

Buy-sell 서비스에 Image 업로드 브랜치입니다.#42
HyeonSeongIM merged 6 commits intomainfrom
buy-sell/feat/img

Conversation

@HyeonSeongIM
Copy link
Contributor

  • Image와 JSON의 데이터 포멧이 맞지 않아 form-data 로 처리하기 위해 RequestPart 사용했습니다.
  • 수정 시 엔티티에 수정된 이미지 url이 들어가는데 버킷에 수정되어 없어져야하는 이미지가 남아있는 문제점이 있습니다.
  • 현재 config 디렉터리에 있는 WebConfig와 Obsetet 컴포넌트는 이해를 아직 잘 못한 상태입니다.

- 현재 415 오류 발생
- 서비스 측 file, article 두개로 나누어 생성
- RequestPart로 Body와 Param 둘 다 받게 설정
- Content-Type 오류 해결하기 위해 OctetStreamReadMsgConverter 와 WebConfig 생성
- put 에서 patch로 수정
- state 미적용
@HyeonSeongIM HyeonSeongIM requested a review from khyu2 February 10, 2025 07:32
- 생성시간 desc 사용하여 게시글 순차적으로 가져오게 생성함
@HyeonSeongIM HyeonSeongIM merged commit fa8b99e into main Feb 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant