Skip to content

Conversation

@msk226
Copy link
Member

@msk226 msk226 commented Apr 7, 2025

#️⃣ 연관된 이슈

#392


🔎 작업 내용

  • 게시글 이미지 수정 로직 변경
  • 기존 이미지 재사용 원하는 경우, 기존 이미지 URL 업로드
  • 이미지 수정 원하는 경우에는 Multipart로 이미지 업로드

📷 스크린샷 (선택)

작업한 결과물에 대한 간단한 스크린샷을 올려주세요.


💬리뷰 요구사항 (선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요.

@msk226 msk226 added the ❓ modify Code modification label Apr 7, 2025
@msk226 msk226 requested review from FromKyoung and dvlp-sy April 7, 2025 00:19
@msk226 msk226 self-assigned this Apr 7, 2025
@msk226 msk226 linked an issue Apr 7, 2025 that may be closed by this pull request
Comment on lines +86 to +99

if (request.getType() != null) {
this.board = request.getType();
}
}

private void updateImage(List<String> images, String existingImage) {
if (StringUtils.hasText(existingImage)) {
this.image = existingImage;
} else if (images != null && !images.isEmpty() && StringUtils.hasText(images.get(0))) {
this.image = images.get(0);
} else {
this.image = null;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

저도 이 부분 참고해서 수정해 올리겠습니다!! 고생하셨습니다 😄

@msk226 msk226 merged commit be15a1f into develop Apr 7, 2025
1 check passed
@msk226 msk226 deleted the SPOT-255/modify branch April 7, 2025 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

❓ modify Code modification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MODIFY] 게시글 이미지 수정 로직 변경

3 participants