pamapi/src/main/java/com/pollex/pam/service/CustomerService.java
@@ -60,6 +60,8 @@ String account = getCustomerAccount(registDTO); OtpTmp otpTmp = otpTmpService.findByAccountAndIndexKey(account, registDTO.getIndexKey()); if(otpTmp!=null) { if(otpTmp.getStatus() == OtpTmpStatusEnum.VERRIFIED) { Customer customer = customerDTOMapper.toCustomer(registDTO); customer.setDataFrom(DataFromEnum.PAM); @@ -70,6 +72,11 @@ + registDTO.getIndexKey() + " => status: " + otpTmp.getStatus()); } }else { throw new IllegalArgumentException("otp tmp not exist"); } } }