|
@@ -69,7 +69,7 @@ public class UserDetailsServiceImpl implements UserDetailsService
|
|
|
//由于之前没有保存用户unionid,只有openid,所以这里判定两个都不存在才不存在用户
|
|
|
UserInfo userInfoGetByUnionId = userService.getStudentByUnionId(identification);
|
|
|
String openid = (String)ServletUtils.getRequest().getAttribute("openid");
|
|
|
- UserInfo userInfoGetByOpenId = userService.getStudentByUnionId(openid);
|
|
|
+ UserInfo userInfoGetByOpenId = userService.getStudentByOpenId(openid);
|
|
|
String third = (String)ServletUtils.getRequest().getAttribute("third");
|
|
|
if (userInfoGetByUnionId == null && userInfoGetByOpenId == null) {
|
|
|
UserInfo userInfo = new UserInfo();
|