fo bo 머지작업 - 오류수정
This commit is contained in:
@@ -551,7 +551,7 @@ public class CscController {
|
||||
*/
|
||||
@Policy(AuthPolicy.PUBLIC)
|
||||
@RequestMapping(value = "/selectBbscttCn", produces = MediaType.APPLICATION_JSON_VALUE)
|
||||
public ResponseEntity<?> selectBbscttCn(BOGnrlbbscttVO bbsctt) {
|
||||
public ResponseEntity<?> selectBbscttCn(@RequestBody BOGnrlbbscttVO bbsctt) {
|
||||
AnonymousUser user = MemberJwtContextHolder.getMemberInfo();
|
||||
|
||||
if ("01".equals(user.getSysDvCd())) {
|
||||
|
||||
@@ -529,11 +529,19 @@ public class MyMbrController {
|
||||
}
|
||||
|
||||
/*4 아이디 비밀번호 동일 확인*/
|
||||
if (responseHandler.handleResponseAsMap(
|
||||
sendToResrc.ofPost(RESRC.GCONEBO, "/gcone/mbr/mbr/selectBOIdPasswordDuplicateAt", mymbrVO)
|
||||
).get("idPasswordDuplicateAt").equals("Y")) {
|
||||
// 사용자 정보 추출
|
||||
AnonymousUser user = MemberJwtContextHolder.getMemberInfo();
|
||||
vo.setMbrDvCd(user.getMbrDvCd());
|
||||
vo.setMbrInnb(String.valueOf(user.getUserInnb()));
|
||||
|
||||
if("Y".equals(service.selectBOIdSearch(vo).get("idPasswordDuplicateAt"))){
|
||||
throw new WnbtRestException("비밀번호는 아이디와 동일할 수 없습니다.");
|
||||
}
|
||||
// if (responseHandler.handleResponseAsMap(
|
||||
// sendToResrc.ofPost(RESRC.GCONEBO, "/gcone/mbr/mbr/selectBOIdPasswordDuplicateAt", mymbrVO)
|
||||
// ).get("idPasswordDuplicateAt").equals("Y")) {
|
||||
// throw new WnbtRestException("비밀번호는 아이디와 동일할 수 없습니다.");
|
||||
// }
|
||||
|
||||
/*5 기존 비밀번호 동일 확인*/
|
||||
if (password.equals(mymbrVO.getMbrPassword())) {
|
||||
@@ -541,7 +549,6 @@ public class MyMbrController {
|
||||
}
|
||||
|
||||
// 사용자 정보 추출 및 적용
|
||||
AnonymousUser user = MemberJwtContextHolder.getMemberInfo();
|
||||
vo.setSopmalCd(user.getSopmalCd());
|
||||
vo.setUpdusr(user.getUserInnb());
|
||||
vo.setMbrInnb(String.valueOf(user.getUserInnb()));
|
||||
|
||||
Reference in New Issue
Block a user