From f8655de7b212ec6a39e61e508804f9e97c9f5d1e Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 26 五月 2020 13:14:49 +0800
Subject: [PATCH] 优化 api listener 开发间接
---
java110-core/src/main/java/com/java110/core/context/PageData.java | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/java110-core/src/main/java/com/java110/core/context/PageData.java b/java110-core/src/main/java/com/java110/core/context/PageData.java
index 296d990..0c19996 100644
--- a/java110-core/src/main/java/com/java110/core/context/PageData.java
+++ b/java110-core/src/main/java/com/java110/core/context/PageData.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.JSONObject;
import com.java110.utils.util.DateUtil;
+import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
import java.io.Serializable;
@@ -45,6 +46,10 @@
private String responseTime;
private String url;
+
+ private String apiUrl;
+
+ private HttpMethod method;
private ResponseEntity responseEntity;
@@ -217,4 +222,20 @@
public void setUserName(String userName) {
this.userName = userName;
}
+
+ public String getApiUrl() {
+ return apiUrl;
+ }
+
+ public void setApiUrl(String apiUrl) {
+ this.apiUrl = apiUrl;
+ }
+
+ public HttpMethod getMethod() {
+ return method;
+ }
+
+ public void setMethod(HttpMethod method) {
+ this.method = method;
+ }
}
--
Gitblit v1.8.0