Compare commits

..

No commits in common. "ebf0973264efdf7a632b18855af0969cf65f598f" and "23d202eec026eb2049a525325c1606d28231ac9a" have entirely different histories.

4 changed files with 2 additions and 5 deletions

View File

@ -6,7 +6,7 @@ public class UserVo {
//用户id //用户id
private Long userId; private String userId;
//用户手机号 //用户手机号
private String phonenumber; private String phonenumber;

View File

@ -115,8 +115,6 @@ public class SysLoginService
recordLogService.recordLogininfor(username, Constants.LOGIN_SUCCESS, "登录成功"); recordLogService.recordLogininfor(username, Constants.LOGIN_SUCCESS, "登录成功");
Long userId = user.getUserId(); Long userId = user.getUserId();
R<UserVo> userVoR = remoteUserService.selectUserVo(userId); R<UserVo> userVoR = remoteUserService.selectUserVo(userId);
userVoR.getData().setPhonenumber(user.getPhonenumber());
userVoR.getData().setUserId(userId);
userInfo.setUserVo(userVoR.getData()); userInfo.setUserVo(userVoR.getData());
return userInfo; return userInfo;
} }

View File

@ -67,7 +67,6 @@ public class TokenService
Map<String, Object> rspMap = new HashMap<String, Object>(); Map<String, Object> rspMap = new HashMap<String, Object>();
rspMap.put("access_token", JwtUtils.createToken(claimsMap)); rspMap.put("access_token", JwtUtils.createToken(claimsMap));
rspMap.put("expires_in", expireTime); rspMap.put("expires_in", expireTime);
rspMap.put("user",loginUser.getUserVo());
return rspMap; return rspMap;
} }