qiubh 1 周之前
父節點
當前提交
adf145fab8

+ 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…
取消
儲存