-
Notifications
You must be signed in to change notification settings - Fork 0
Pjs #3
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
base: master
Are you sure you want to change the base?
Conversation
| return ResponseEntity.ok(flag); | ||
| } | ||
|
|
||
| @GetMapping("/findByUsingEmail/{email}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url은 이렇게 서술하는 느낌일일 필요가 없을것 같아
| return new Docket(DocumentationType.SWAGGER_2) | ||
| .select() | ||
| .apis(RequestHandlerSelectors.any()) // 현재 RequestMapping으로 할당된 모든 URL 리스트를 추출 | ||
| .paths(PathSelectors.ant("/api/**")) // 그중 /api/** 인 URL들만 필터링 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
????왜?
| import org.springframework.web.bind.annotation.*; | ||
|
|
||
| @RestController | ||
| @RequestMapping("/account") //경로 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이걸 api/account하면 되는뎅
| } | ||
| AccountChangeNameResDto accountChangeNameResDto = new AccountChangeNameResDto(input_name); | ||
|
|
||
| //삭제하고 다시넣어주나? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
삭제하고 다시 넣으면 안됑
너가 repository를 이용해서 가져온 객체의 값을 바꾸면 jpa의 더티체크란 기능덕에 자동으로 값이 변경되서 저장돼
| } | ||
|
|
||
| @Transactional | ||
| public AccountFindAllUserDto findAllUser() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이건 잘만든것 같아
풀리퀘안했네!