mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-20 13:00:24 +08:00
增加IP级别和WAF动作相关API
This commit is contained in:
@@ -13,7 +13,7 @@ type IPItem struct {
|
||||
CreatedAt uint64 `field:"createdAt"` // 创建时间
|
||||
UpdatedAt uint64 `field:"updatedAt"` // 修改时间
|
||||
Reason string `field:"reason"` // 加入说明
|
||||
Action string `field:"action"` // 动作代号
|
||||
EventLevel string `field:"eventLevel"` // 事件级别
|
||||
State uint8 `field:"state"` // 状态
|
||||
ExpiredAt uint64 `field:"expiredAt"` // 过期时间
|
||||
}
|
||||
@@ -30,7 +30,7 @@ type IPItemOperator struct {
|
||||
CreatedAt interface{} // 创建时间
|
||||
UpdatedAt interface{} // 修改时间
|
||||
Reason interface{} // 加入说明
|
||||
Action interface{} // 动作代号
|
||||
EventLevel interface{} // 事件级别
|
||||
State interface{} // 状态
|
||||
ExpiredAt interface{} // 过期时间
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user