提交 1505969c 作者: han

bug

上级 fee7d7fd
...@@ -95,7 +95,6 @@ public class AuthServiceImpl implements AuthService { ...@@ -95,7 +95,6 @@ public class AuthServiceImpl implements AuthService {
String unionId; String unionId;
String openId; String openId;
String sessionKey; String sessionKey;
log.info("登录信息:{}", wxLoginVO);
log.info("上级推荐人:{}", wxLoginVO.getRcdUserId()); log.info("上级推荐人:{}", wxLoginVO.getRcdUserId());
if (wxLoginVO.getFromPort().toString().equals(WxConstant.APP.toString())) { if (wxLoginVO.getFromPort().toString().equals(WxConstant.APP.toString())) {
//调用小程序登录接口,里面包含unionId //调用小程序登录接口,里面包含unionId
...@@ -117,8 +116,6 @@ public class AuthServiceImpl implements AuthService { ...@@ -117,8 +116,6 @@ public class AuthServiceImpl implements AuthService {
} }
//数据库查询用户信息 //数据库查询用户信息
UserAccountVO userAccountVO = userAccountService.getUserAccountInfoByUnionId(unionId); UserAccountVO userAccountVO = userAccountService.getUserAccountInfoByUnionId(unionId);
log.info("userAccountVO是:{}",unionId);
log.info("unionId是:{}",unionId);
Integer companyAuthStatus = 0; Integer companyAuthStatus = 0;
Boolean isNewPilot = true; Boolean isNewPilot = true;
if (userAccountVO == null) { if (userAccountVO == null) {
...@@ -135,8 +132,7 @@ public class AuthServiceImpl implements AuthService { ...@@ -135,8 +132,7 @@ public class AuthServiceImpl implements AuthService {
payClient.createWallet(userAccountDO.getId()); payClient.createWallet(userAccountDO.getId());
// 查询之前有没有实名过 // 查询之前有没有实名过
RealNameAuthDO nameAuthByUnionId = realNameAuthDao.getRealNameAuthBakByUnionId(unionId); RealNameAuthDO nameAuthByUnionId = realNameAuthDao.getRealNameAuthByUnionId(unionId);
log.info("实名信息:{}", nameAuthByUnionId);
if (nameAuthByUnionId != null) { if (nameAuthByUnionId != null) {
nameAuthByUnionId.setUserAccountId(userAccountDO.getId()); nameAuthByUnionId.setUserAccountId(userAccountDO.getId());
// nameAuthByUnionId.setId(null); // nameAuthByUnionId.setId(null);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论