|
|
@ -210,6 +210,9 @@ public class UserInfoService {
|
|
|
|
user.setLastUseDeviceBrand(userInfo.getLastUseDeviceBrand());
|
|
|
|
user.setLastUseDeviceBrand(userInfo.getLastUseDeviceBrand());
|
|
|
|
user.setLastLoginIp(userInfo.getLastLoginIp());
|
|
|
|
user.setLastLoginIp(userInfo.getLastLoginIp());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!UserStatusEnum.ENABLE.getStatus().equals(userInfo.getStatus())) {
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
}
|
|
|
|
user.setLastLoginTime(new Date());
|
|
|
|
user.setLastLoginTime(new Date());
|
|
|
|
userInfoDao.save(user);
|
|
|
|
userInfoDao.save(user);
|
|
|
|
return Constants.TOKEN_PREFIX
|
|
|
|
return Constants.TOKEN_PREFIX
|
|
|
|