From 28a0efc6ec16f3f82eb8e16e87269300d6744fd4 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 25 九月 2019 19:18:17 +0800 Subject: [PATCH] 金币版本拦截与频率拦截bug修改 --- utils/src/main/java/org/yeshi/utils/statistic/http/HttpRequestInfo.java | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/utils/src/main/java/org/yeshi/utils/statistic/http/HttpRequestInfo.java b/utils/src/main/java/org/yeshi/utils/statistic/http/HttpRequestInfo.java index e117cf1..743607f 100644 --- a/utils/src/main/java/org/yeshi/utils/statistic/http/HttpRequestInfo.java +++ b/utils/src/main/java/org/yeshi/utils/statistic/http/HttpRequestInfo.java @@ -1,5 +1,6 @@ package org.yeshi.utils.statistic.http; +import java.util.Date; import java.util.Map; /** @@ -15,6 +16,24 @@ private int stateCode; private int time; private Map<String, Object> params; + private Date date; + private String ip; + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public Date getDate() { + return date; + } + + public void setDate(Date date) { + this.date = date; + } public String getUrl() { return url; -- Gitblit v1.8.0