Commit 145a794c by levphon

修复报错

1 parent c89e5c3b
...@@ -163,10 +163,11 @@ public class LoginService { ...@@ -163,10 +163,11 @@ public class LoginService {
} }
//todo 当c端账号先存在,常规账号后存在时,需要更新账号信息(比如:当某个用户通过被分享车辆链接登录产生了c端账号(账号信息是随机的),后来平台给开了常规账号,这种情况两种账号可以通过openid联系起来) //todo 当c端账号先存在,常规账号后存在时,需要更新账号信息(比如:当某个用户通过被分享车辆链接登录产生了c端账号(账号信息是随机的),后来平台给开了常规账号,这种情况两种账号可以通过openid联系起来)
UserLocalAuth userLocalAuth = userLocalAuthMapper.selectByUserId(user.getUserId()); UserLocalAuth userLocalAuth = userLocalAuthMapper.selectByUserId(user.getCuserId());
if (userLocalAuth != null) {
UserLocalAccount userLocalAccount = userLocalAccountMapper.selectByAuthId(userLocalAuth.getId()); UserLocalAccount userLocalAccount = userLocalAccountMapper.selectByAuthId(userLocalAuth.getId());
}
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!