qiubh 1 주 전
부모
커밋
adf145fab8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/portal/RegisterNoCodeManager.java

+ 1
- 1
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/portal/RegisterNoCodeManager.java 파일 보기

@@ -42,7 +42,7 @@ public class RegisterNoCodeManager extends AbstractLoginManager implements LogMa
if (hasText(request.getIdNum()) && request.getIdType() != null) {
accountInfo = accountInfoRepo.findByIdNumAndIdType(request.getIdNum(), request.getIdType());
if (accountInfo != null)
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException("该用户已存在实名账号");
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException("证件号已绑定"+accountInfo.getMobile());
}
accountInfo = from(request);
accountInfoRepo.persist(accountInfo);

Loading…
취소
저장