mirror of
https://github.com/TheWhiteDog9487/WebAPI.git
synced 2026-08-11 23:01:30 +08:00
AccessLog表新增 传入协议、传入协议版本、响应代码和响应内容 字段
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user