23.12.12) TIL
2023-12-12 20:05:12
1. controller // 회원가입 @PostMapping("/signup") public ResponseEntity signup(@Valid @RequestBody UserRequestDto requestDto) { try { userService.signup(requestDto); return ResponseEntity.status(HttpStatus.CREATED.value()) .body(new CommonResponseDto("회원가입 성공", HttpStatus.CREATED.value())); } catch (BusinessException be) { return ResponseEntity.status(be.getStatus()) .body(new CommonResponseDto(be.g..