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

Commit a3f00373 authored by zhanggb's avatar zhanggb

+手机号静默登录接口(内部调用);

parent 3ad27785
...@@ -342,7 +342,7 @@ public class AdamLoginController { ...@@ -342,7 +342,7 @@ public class AdamLoginController {
otpDecrypt = DESUtils.DES().decrypt(otp); otpDecrypt = DESUtils.DES().decrypt(otp);
} catch (Exception e) { } catch (Exception e) {
} }
if (null == otpDecrypt || !otpDecrypt.substring(5).equals(mobile.substring(5))) { if (null == otpDecrypt || !otpDecrypt.substring(5).equals(mobile)) {
log.error("login by silent for mobile:{},{}/{}", mobile, otp, otpDecrypt); log.error("login by silent for mobile:{},{}/{}", mobile, otp, otpDecrypt);
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