@Autowired
private UserRepository userRepository;
@PostMapping("/dummy/join")
public String join(User user) {
user.setRole(RoleType.USER);
System.out.println(userRepository.save(user));
userRepository.save(user);
return"회원가입이 완료되었습니다.";
}