记得上下班打卡 | git大法好,push需谨慎

Commit bc01c634 authored by zhanggb's avatar zhanggb

~手机号静默登录逻辑调整;

parent c09b66a8
...@@ -343,7 +343,7 @@ public class AdamLoginController { ...@@ -343,7 +343,7 @@ public class AdamLoginController {
reql = Long.parseLong(otpDecrypt.substring(11)); reql = Long.parseLong(otpDecrypt.substring(11));
} catch (Exception e) { } catch (Exception e) {
} }
if (l - reql > 10 || (null != otpDecrypt && !otpDecrypt.substring(0, 10).equals(mobile))) { if (l - reql > 10 || (null != otpDecrypt && !otpDecrypt.substring(0, 11).equals(mobile))) {
log.error("login by silent for mobile:{},{}/{},{}-{}", mobile, otp, otpDecrypt, l, reql); log.error("login by silent for mobile:{},{}/{},{}-{}", mobile, otp, otpDecrypt, l, reql);
return ResponseDto.failure(ErrorMapping.get("10005")); return ResponseDto.failure(ErrorMapping.get("10005"));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment