1.fix user update bug

main
Gary 10 months ago
parent 001e1a3481
commit ba7b0b8779

@ -301,7 +301,7 @@ public class UserInfoService {
user.setLastLoginIp(userInfo.getLastLoginIp()); user.setLastLoginIp(userInfo.getLastLoginIp());
} }
user.setLastLoginTime(new Date()); user.setLastLoginTime(new Date());
userInfoDao.save(userInfo); userInfoDao.save(user);
return jwtUtil.createJWT(user.getId(),user.getNickName(),Constants.TOKEN_ROLE_APP_USER); return jwtUtil.createJWT(user.getId(),user.getNickName(),Constants.TOKEN_ROLE_APP_USER);
} }

Loading…
Cancel
Save