mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-27 07:26:36 +08:00
WAF策略:可以修改分组代号/导入时可以根据名称合并
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
package models
|
||||
|
||||
// 防火墙规则分组
|
||||
// HTTPFirewallRuleGroup 防火墙规则分组
|
||||
type HTTPFirewallRuleGroup struct {
|
||||
Id uint32 `field:"id"` // ID
|
||||
IsOn uint8 `field:"isOn"` // 是否启用
|
||||
Name string `field:"name"` // 名称
|
||||
Description string `field:"description"` // 描述
|
||||
Code string `field:"code"` // 代号
|
||||
IsTemplate uint8 `field:"isTemplate"` // 是否为预置模板
|
||||
AdminId uint32 `field:"adminId"` // 管理员ID
|
||||
UserId uint32 `field:"userId"` // 用户ID
|
||||
State uint8 `field:"state"` // 状态
|
||||
@@ -20,6 +21,7 @@ type HTTPFirewallRuleGroupOperator struct {
|
||||
Name interface{} // 名称
|
||||
Description interface{} // 描述
|
||||
Code interface{} // 代号
|
||||
IsTemplate interface{} // 是否为预置模板
|
||||
AdminId interface{} // 管理员ID
|
||||
UserId interface{} // 用户ID
|
||||
State interface{} // 状态
|
||||
|
||||
Reference in New Issue
Block a user