返回dataTime修复

master
jiakun.lin 4 years ago
parent 8334037c81
commit 70f46d241b
  1. 4
      src/main/java/com/yipin/liuwanr/service/UserInfoService.java

@ -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);
} }

Loading…
Cancel
Save