Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
리뷰 반영
Browse files Browse the repository at this point in the history
- id 중복체크 url을 명시적으로 변경
  • Loading branch information
yyy9942 committed Nov 27, 2019
1 parent 4c95de8 commit fa9dd1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/delfood/controller/MemberController.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public MemberInfoResponse memberInfo(HttpSession session) {
* @param id 중복체크를 진행할 고객 아이디
* @return
*/
@GetMapping("idCheck/{id}")
@GetMapping("duplicated/{id}")
public boolean idCheck(@PathVariable @NotNull String id) {
boolean idDuplicated = memberService.isDuplicatedId(id);
return idDuplicated;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/delfood/controller/OwnerController.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void signUp(@RequestBody OwnerDTO ownerInfo) {
* @param id 중복체크를 진행할 사장님 ID
* @return 중복된 아이디 일시 true
*/
@GetMapping("idCheck/{id}")
@GetMapping("duplicated/{id}")
public boolean idCheck(@PathVariable("id") String id) {
boolean isDupl = ownerService.isDuplicatedId(id);
return isDupl;
Expand Down

0 comments on commit fa9dd1f

Please sign in to comment.