保誠-保戶業務員媒合平台
wayne
2021-12-08 783f227a8d6962b290ef4a8bc0d0d5e12fc88e4c
pamapi/src/main/java/com/pollex/pam/service/OtpUtilService.java
@@ -48,7 +48,7 @@
            else {
                log.info("otp login fail... , account = {}, error code = {}, failReason = {}", account, otpResponseDTO.getFailCode(), otpResponseDTO.getFailReason());
                loginRecordService.saveOTPLoginFailRecord(account, otpResponseDTO.getFailReason());
                throw new OtpLoginFailException(otpResponseDTO.getFailReason());
                throw new OtpLoginFailException(otpResponseDTO.getFailCode());
            }
        }
        loginRecordService.saveOTPLoginSuccessRecord(account);