|
|
@ -541,8 +541,8 @@ public class UserInfoService { |
|
|
|
userInfoMapper.updateLogInNumber(user); |
|
|
|
userInfoMapper.updateLogInNumber(user); |
|
|
|
String token = user.getToken(); |
|
|
|
String token = user.getToken(); |
|
|
|
ValueOperations<String, String> redis = stringRedisTemplate.opsForValue(); |
|
|
|
ValueOperations<String, String> redis = stringRedisTemplate.opsForValue(); |
|
|
|
//redis.set(token,lastLoginTime, 24, TimeUnit.HOURS);
|
|
|
|
redis.set(token,lastLoginTime, 24, TimeUnit.HOURS); |
|
|
|
//user.setDataTime(lastLoginTime);
|
|
|
|
user.setDataTime(lastLoginTime); |
|
|
|
resp.put("retvalue",user); |
|
|
|
resp.put("retvalue",user); |
|
|
|
resp.put("retcode", 200); |
|
|
|
resp.put("retcode", 200); |
|
|
|
} |
|
|
|
} |
|
|
|