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")
|
||||
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;
|
||||
Instant Timestamp;
|
||||
|
||||
@JsonProperty("ResponseStatusCode")
|
||||
Integer ResponseStatusCode;
|
||||
|
||||
@JsonProperty("ResponseBody")
|
||||
@Column(columnDefinition = "text")
|
||||
String ResponseBody;
|
||||
}
|
||||
Reference in New Issue
Block a user