-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 이미지 url을 만드는 util 클래스 추가 * feat: User의 이미지를 엔티티 객체로 수정 * feat: 사용자 정보 수정 기능 추가 * feat: 이미지 조회 서비스 추가 * refactor: 메시지의 이미지 url과 관련해 util을 사용하도록 수정 * refactor: 이미지를 반환하도록 수정 * feat: 사용자 프로필 이미지 조회 컨트롤러 추가 * refactor: 업데이트 메서드에 Transactional 설정 * test: userService 예외 테스트 추가 * feat: 누락된 dto 파일 추가 * refactor: 메서드명이 명확하도록 수정 * refactor: Embedded를 통한 중복 필드 제거 * rename: 이미지 url 생성 util 클래스 패키지 위치 및 네이밍 변경 * refactor: 메서드명을 명확하도록 수정 * refactor: 개행 수정 * refactor: 변수명을 컨벤션에 맞도록 수정 * refactor: 변수명 수정 및 중복 제거 * feat: 사용자 수정 컨트롤러 기능 추가 * refactor: 메서드 로직을 명확하게 분리 * ci: 충돌 문제 해결 * ci: flyway profileImage 연관관계 수정 * docs: 문서 최신화 * style: 해결된 todo 제거 * ci: flyway 문법 수정 * refactor: User profileImage의 fk 설정 --------- Co-authored-by: apptie <[email protected]>
- Loading branch information
Showing
87 changed files
with
1,378 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
...src/main/java/com/ddang/ddang/auction/presentation/dto/response/ReadAuctionsResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ddang/src/main/java/com/ddang/ddang/auction/presentation/dto/response/SellerResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,26 @@ | ||
package com.ddang.ddang.auction.presentation.dto.response; | ||
|
||
import com.ddang.ddang.auction.application.dto.ReadAuctionDto; | ||
import com.ddang.ddang.image.presentation.util.ImageBaseUrl; | ||
import com.ddang.ddang.image.presentation.util.ImageUrlCalculator; | ||
|
||
public record SellerResponse( | ||
Long id, | ||
String image, | ||
String nickname, | ||
double reliability | ||
) { | ||
|
||
public static SellerResponse from(final ReadAuctionDto auctionDto) { | ||
return new SellerResponse( | ||
auctionDto.sellerId(), | ||
convertImageUrl(auctionDto.sellerProfileId()), | ||
auctionDto.sellerName(), | ||
auctionDto.sellerReliability() | ||
); | ||
} | ||
|
||
private static String convertImageUrl(final Long id) { | ||
return ImageUrlCalculator.calculate(ImageBaseUrl.USER, id); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...nd/ddang/src/main/java/com/ddang/ddang/bid/application/exception/InvalidBidException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.