WAF记录ServerId

This commit is contained in:
GoEdgeLab
2021-01-20 14:19:29 +08:00
parent b1d83c3b87
commit 78e0f404e5
5 changed files with 71 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ type HTTPFirewallPolicy struct {
TemplateId uint32 `field:"templateId"` // 模版ID
AdminId uint32 `field:"adminId"` // 管理员ID
UserId uint32 `field:"userId"` // 用户ID
ServerId uint32 `field:"serverId"` // 服务ID
State uint8 `field:"state"` // 状态
CreatedAt uint64 `field:"createdAt"` // 创建时间
IsOn uint8 `field:"isOn"` // 是否启用
@@ -21,6 +22,7 @@ type HTTPFirewallPolicyOperator struct {
TemplateId interface{} // 模版ID
AdminId interface{} // 管理员ID
UserId interface{} // 用户ID
ServerId interface{} // 服务ID
State interface{} // 状态
CreatedAt interface{} // 创建时间
IsOn interface{} // 是否启用