-
Notifications
You must be signed in to change notification settings - Fork 0
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
6,7차 세미나 기본 과제 #8
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
멋있어요
|
||
public List<String> uploadImages(List<MultipartFile> multipartFileList, String folder) { | ||
List<String> imageList = new ArrayList<>(); | ||
multipartFileList.forEach(multipartFile -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
자바 활용도가 높으시네요!
@Transactional | ||
public Long login(UserLoginRequestDto request) { | ||
User user = userRepository.findByEmail(request.getEmail()) | ||
.orElseThrow(() -> new NotFoundException(Error.NOT_FOUND_USER_EXCEPTION, Error.NOT_FOUND_USER_EXCEPTION.getMessage())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
예외처리 너무 좋네요
import java.util.List; | ||
|
||
@Getter | ||
@Setter // ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DTO에 Setter 사용이 필요한게 아니라면 없애도 좋을 것 같아요!!
✒️ 관련 이슈번호
🔑 Key Changes
📢 To Reviewers