|
|
|
@ -8,6 +8,7 @@ import org.springframework.http.HttpStatus;
|
|
|
|
|
import org.springframework.http.MediaType; |
|
|
|
|
import org.springframework.http.ResponseEntity; |
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.PutMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
@ -113,7 +114,7 @@ public class AcntCrtfyhpController {
|
|
|
|
|
log.info("result>>>>>>>>>>>>>>>>>>>>>>>> {}",result); |
|
|
|
|
|
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@GetMapping(value = "/find/findUserId") |
|
|
|
|
public String findUserId(String memberName, String hpno) throws Exception{ |
|
|
|
|
String result = service.findUserId(memberName,hpno); |
|
|
|
@ -122,5 +123,20 @@ public class AcntCrtfyhpController {
|
|
|
|
|
|
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
@GetMapping(value = "/find/sendForPw") |
|
|
|
|
public boolean certifNumPw(String userId, String hpno) throws Exception{ |
|
|
|
|
boolean result = service.certifPw(userId, hpno); |
|
|
|
|
|
|
|
|
|
log.info("result>>>>>>>>>>>>>>>>>>>>>>>> {}",result); |
|
|
|
|
|
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
@PutMapping(value = "/find/updatePw") |
|
|
|
|
public boolean updatePw(String userId, String hpno, String newPw) throws Exception{ |
|
|
|
|
boolean result = service.updatePw(userId, hpno, newPw); |
|
|
|
|
|
|
|
|
|
log.info("result>>>>>>>>>>>>>>>>>>>>>>>> {}",result); |
|
|
|
|
|
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|