AccessLog表新增 传入协议、传入协议版本、响应代码和响应内容 字段

This commit is contained in:
2025-09-26 11:42:28 +08:00
parent 58a0beab86
commit 66a3016f00
@@ -48,6 +48,13 @@ public class AccessLog{
@JsonProperty("HttpMethod") @JsonProperty("HttpMethod")
String HttpMethod; String HttpMethod;
@JsonProperty("Protocol")
String Protocol;
@JsonProperty("ProtocolVersion")
String ProtocolVersion;
@JsonProperty("URL") @JsonProperty("URL")
String URL; String URL;
@@ -60,3 +67,11 @@ public class AccessLog{
@JsonProperty("Timestamp") @JsonProperty("Timestamp")
Instant Timestamp; Instant Timestamp;
@JsonProperty("ResponseStatusCode")
Integer ResponseStatusCode;
@JsonProperty("ResponseBody")
@Column(columnDefinition = "text")
String ResponseBody;
}