Skip to content
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

[refactor/#51] 마이페이지 정보 수정 시 로그 추가 #54

Merged
merged 24 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b6f209b
add: feat 이슈 템플릿 추가
Gyuhyeok99 Apr 2, 2024
575ae36
setting: 프로젝트 초기 세팅 #1
Gyuhyeok99 Apr 2, 2024
db1233d
setting: 스웨거 설정 추가 #1
Gyuhyeok99 Apr 2, 2024
de4d8b9
setting: user 패키지 구조 설정 #1
Gyuhyeok99 Apr 2, 2024
24f4751
setting: redis 설정 추가 #1
Gyuhyeok99 Apr 2, 2024
7392cb8
setting: api 응답 및 예외처리 설정 #1
Gyuhyeok99 Apr 2, 2024
a1e0607
setting: spring security 및 jwt 설정 #1
Gyuhyeok99 Apr 2, 2024
e525bb3
setting: 이슈템플릿 설정 #1
Gyuhyeok99 Apr 2, 2024
84c1588
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 Apr 4, 2024
c6555bd
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 Apr 4, 2024
2f683c3
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 Apr 5, 2024
6f3a2ff
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 Apr 30, 2024
d63f966
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 Apr 30, 2024
ad3a184
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 Apr 30, 2024
92c3852
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 May 2, 2024
ba20f21
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 May 3, 2024
943487a
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 May 7, 2024
5f601af
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 May 8, 2024
2127423
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 May 9, 2024
cb7acc9
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 May 9, 2024
d17e348
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 May 14, 2024
9b9b865
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 May 14, 2024
56ec7fb
Merge branch 'develop' of https://github.com/Gyuhyeok99/SWAcademy-Ser…
Gyuhyeok99 May 16, 2024
1eb0e5e
[refactor/#51] 마이페이지 정보 수정 시 로그 추가
Gyuhyeok99 May 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public BaseResponse<GetMyPageRes> mypage(@AuthenticationPrincipal User user) {
@PatchMapping("/my-page/edit")
@Operation(summary = "마이페이지 수정 API", description = "마이페이지를 수정합니다.")
public BaseResponse<PatchInfoRes> mypageEdit(@AuthenticationPrincipal User user, @Validated @RequestBody PatchInfoReq request) {
log.info("request : {}", request.getEditNickname());
return BaseResponse.of(MYPAGE_EDIT_OK, userService.mypageEdit(user, request));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public GetMyPageRes mypage(User user) {
public PatchInfoRes mypageEdit(User user, PatchInfoReq request) {
user.updateInfo(request);
User updateUser = userJpaRepository.save(user);
log.info("updateUser : {}", updateUser.getId());
return UserConverter.toPatchInfoRes(updateUser);
}

Expand Down