From 66a3016f004908251af56b1a05f4c80c8e64569d Mon Sep 17 00:00:00 2001 From: TheWhiteDog9487 Date: Fri, 26 Sep 2025 11:42:28 +0800 Subject: [PATCH] =?UTF-8?q?AccessLog=E8=A1=A8=E6=96=B0=E5=A2=9E=20?= =?UTF-8?q?=E4=BC=A0=E5=85=A5=E5=8D=8F=E8=AE=AE=E3=80=81=E4=BC=A0=E5=85=A5?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E7=89=88=E6=9C=AC=E3=80=81=E5=93=8D=E5=BA=94?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=92=8C=E5=93=8D=E5=BA=94=E5=86=85=E5=AE=B9?= =?UTF-8?q?=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebAPI/Data/Entity/AccessLog.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/main/java/xyz/thewhitedog9487/WebAPI/Data/Entity/AccessLog.java b/src/main/java/xyz/thewhitedog9487/WebAPI/Data/Entity/AccessLog.java index 89c3ddb..c42a932 100644 --- a/src/main/java/xyz/thewhitedog9487/WebAPI/Data/Entity/AccessLog.java +++ b/src/main/java/xyz/thewhitedog9487/WebAPI/Data/Entity/AccessLog.java @@ -48,6 +48,13 @@ public class AccessLog{ @JsonProperty("HttpMethod") String HttpMethod; + + @JsonProperty("Protocol") + String Protocol; + + @JsonProperty("ProtocolVersion") + String ProtocolVersion; + @JsonProperty("URL") String URL; @@ -59,4 +66,12 @@ public class AccessLog{ String Header; @JsonProperty("Timestamp") - Instant Timestamp; \ No newline at end of file + Instant Timestamp; + + @JsonProperty("ResponseStatusCode") + Integer ResponseStatusCode; + + @JsonProperty("ResponseBody") + @Column(columnDefinition = "text") + String ResponseBody; +} \ No newline at end of file