Commit e8539657 authored by 赵啸非's avatar 赵啸非

更新登录页面鉴权

parent a18a6542
......@@ -37,10 +37,10 @@ public class AccessLogServiceImpl extends AbstractCRUDServiceImpl<AccessLogDao,
entity.setCreateTime(new Date());
}
// if (!ObjectUtils.isEmpty(entity.getDuration()) && entity.getDuration() < Constant.ACCESS_EXPIRE_TIME) {
// // log.info("Duration:{}",entity.getDuration());
// return null;
// }
if (!ObjectUtils.isEmpty(entity.getDuration()) && entity.getDuration() < Constant.ACCESS_EXPIRE_TIME) {
// log.info("Duration:{}",entity.getDuration());
return new AccessLogEntity() ;
}
return super.save(entity, context);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment