|
|
@ -453,7 +453,7 @@ public class UserInfoService { |
|
|
|
List<Student> studentList = userInfoMapper.queryStudentAll(id,roleId,schoolId); |
|
|
|
List<Student> studentList = userInfoMapper.queryStudentAll(id,roleId,schoolId); |
|
|
|
obj.put("studentList",studentList); |
|
|
|
obj.put("studentList",studentList); |
|
|
|
ValueOperations<String, String> redis = stringRedisTemplate.opsForValue(); |
|
|
|
ValueOperations<String, String> redis = stringRedisTemplate.opsForValue(); |
|
|
|
redis.set(token,date, 30 * 60, TimeUnit.SECONDS); |
|
|
|
redis.set(token,date, 24, TimeUnit.HOURS); |
|
|
|
resp.put("retcode", 200); |
|
|
|
resp.put("retcode", 200); |
|
|
|
resp.put("retvalue", obj); |
|
|
|
resp.put("retvalue", obj); |
|
|
|
}else { |
|
|
|
}else { |
|
|
|