保誠-保戶業務員媒合平台
wayne
2022-01-22 8fb0516d2d4791ce41a541407ce3a6fe82541455
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);