保誠-保戶業務員媒合平台
Jack
2021-12-03 7f5d9074ae2b0e97a9320845d812c4ec1c2d861d
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);