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

Commit f27ceacc authored by jiangxiulong's avatar jiangxiulong

sweet

parent b25d2c45
......@@ -74,14 +74,6 @@ public class SweetWechatLoginServiceImpl {
return ResponseDto.failure("login handler error");
}
// 解密用户信息
WxMaUserInfo wxUserInfo = wxMaService.getUserService().getUserInfo(sessionInfo.getSessionKey(),
encryptedData, iv);
log.info("\nWxMaUserInfo:[{}] ", JsonUtils.toJson(wxUserInfo));
if (null == wxUserInfo) {
return ResponseDto.failure("wxUser not exist");
}
// 解密手机号码信息
WxMaPhoneNumberInfo wxMaPhoneNumberInfo = wxMaService.getUserService().getPhoneNoInfo(sessionInfo.getSessionKey(),
encryptedData, iv);
......@@ -103,7 +95,6 @@ public class SweetWechatLoginServiceImpl {
return ResponseDto.success(userInfo);
} catch (Exception e) {
e.printStackTrace();
log.info("\nprintStackTrace:[{}] ", e.toString());
return ResponseDto.failure();
}
}
......
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