diff --git a/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java b/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java index 9165481..1284b74 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java +++ b/luoo_user/src/main/java/com/luoo/user/service/UserInfoService.java @@ -301,7 +301,7 @@ public class UserInfoService { user.setLastLoginIp(userInfo.getLastLoginIp()); } user.setLastLoginTime(new Date()); - userInfoDao.save(userInfo); + userInfoDao.save(user); return jwtUtil.createJWT(user.getId(),user.getNickName(),Constants.TOKEN_ROLE_APP_USER); }