提交 ebc14bdc 作者: 刘明祎-运维用途

修改代码

上级 5c5b18c9
......@@ -94,6 +94,7 @@ public class AuthServiceImpl implements AuthService {
String unionId;
String openId;
String sessionKey;
log.info("上级推荐人:{}", wxLoginVO.getRcdUserId());
if (wxLoginVO.getFromPort().toString().equals(WxConstant.APP.toString())) {
//调用小程序登录接口,里面包含unionId
String appWxJson = wxService.appLogin(wxLoginVO);
......@@ -134,6 +135,7 @@ public class AuthServiceImpl implements AuthService {
nameAuthByUnionId.setId(null);
realNameAuthDao.addRealNameAuth(nameAuthByUnionId);
}
log.info("用户的id是=====》{}",userAccountDO.getId());
} else {
CompanyAuthDO companyAuthDO = companyAuthDao.getCompanyAuth(userAccountVO.getId());
companyAuthStatus = companyAuthDO == null ? 0 : 1;
......@@ -142,7 +144,7 @@ public class AuthServiceImpl implements AuthService {
AppUserSucVO appUserSucVO = authHandler.addAppLoginCache(userAccountVO);
appUserSucVO.setAuthStatus(companyAuthStatus);
appUserSucVO.setSessionKey(sessionKey);
log.info("判断是不是新用户 =====》 {}",isNewPilot);
//判断是不是新用户只有新用户才会执行添加积分代码
if(!isNewPilot) {
return ResultBody.success(appUserSucVO);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论