Skip to content

Commit

Permalink
컨트롤러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HeeSung98 committed Dec 6, 2023
1 parent d474cc7 commit eb6b2af
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class UserController {

@PostMapping("/login/google")
public ResponseEntity<UserDTO> google(@RequestBody GoogleUserDTO googleUserDTO) throws Exception {
log.info(" ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ googleToken controller ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ");
log.info(" ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ google controller ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ");
log.info("googleUserDTO: " + googleUserDTO);

UserDTO result = userService.googleUserCheck(googleUserDTO);
Expand Down Expand Up @@ -92,6 +92,7 @@ public ResponseEntity<UserDTO> modify(@RequestBody UserDTO userDTO) {
}

@PatchMapping(value = "/api/profile/modify/image", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
@ResponseBody
public ResponseEntity<UserDTO> modifyImage(@RequestPart(value = "image", required = false) MultipartFile image,
@RequestPart("email") String email) {
log.info(" ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ modifyImage controller ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ");
Expand Down

0 comments on commit eb6b2af

Please sign in to comment.