Skip to content

Conversation

@Chuseok22
Copy link
Member

No description provided.

Copy link
Member Author

@Chuseok22 Chuseok22 left a comment

Choose a reason for hiding this comment

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

고생했어~
UserService 부분 한줄만 수정하면 될거야

User user = userRepository.findByUsername(userDto.getUsername()).orElseThrow();

if(user.getPassword().equals(userDto.getPassword()))
return userDto.getUsername() + "님, 환영합니다!!";
Copy link
Member Author

Choose a reason for hiding this comment

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

로그인 성공하면 {회원 닉네임}님, 환영합니다!! 라는 문자열 반환해주세용~
지금은 username님, 환영합니다!! 라는 문자열이 반환될거야

Choose a reason for hiding this comment

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

수정했어!! 3-2도 거의 다해서 오늘 셤 보고 바로 올릴게..!!

Copy link
Member Author

Choose a reason for hiding this comment

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

오키오키 셤 파이팅~~

Comment on lines +22 to +23

public UserDto join(UserDto userDto) {
Copy link
Member Author

Choose a reason for hiding this comment

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

플젝에서는 @transactional 붙여주세용~

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.

3 participants