Commit 012a19cb authored by 赵啸非's avatar 赵啸非

修改查询时间段

parent f6039f3f
...@@ -82,6 +82,7 @@ public class AccessMessageConsumerListener { ...@@ -82,6 +82,7 @@ public class AccessMessageConsumerListener {
entity.setCreateTime(new Date()); entity.setCreateTime(new Date());
//判断 超过一定时间的请求 才记录 //判断 超过一定时间的请求 才记录
if (!ObjectUtils.isEmpty(entity.getDuration()) && entity.getDuration() < Constant.ACCESS_EXPIRE_TIME) { if (!ObjectUtils.isEmpty(entity.getDuration()) && entity.getDuration() < Constant.ACCESS_EXPIRE_TIME) {
log.info("Duration:{}",entity.getDuration());
return null; return null;
} }
return entity; return entity;
......
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