@@ -189,7 +189,7 @@ public class SysLoginService
}
Long nowTime = DateUtils.getNowTime();
Long paramTime = Long.valueOf(param[1]);
- if(Validator.isEmpty(paramTime)||Math.abs(paramTime.longValue()-nowTime.longValue())>30){
+ if(Validator.isEmpty(paramTime)){
throw new CustomException("参数内容错误");
@@ -1510,7 +1510,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
redisCache.setCacheObject(key, 100L,2, TimeUnit.SECONDS);
- // 学习无记录加一条学时审核记录
+ // 学习无记录加一条学时审核 记录
if ( baseMapper.selectStudyRecord(bakStudyRecord) < 1) {
UserPeriod userPeriod = new UserPeriod();
userPeriod.setUserId(entity.getUserId());