mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-26 20:40:24 +08:00
WAF规则增加备注信息/其他界面优化
This commit is contained in:
@@ -61,6 +61,7 @@ func (this *CreateRulePopupAction) RunPost(params struct {
|
||||
OptionsJSON []byte
|
||||
Value string
|
||||
Case bool
|
||||
Description string
|
||||
|
||||
Must *actions.Must
|
||||
}) {
|
||||
@@ -91,6 +92,7 @@ func (this *CreateRulePopupAction) RunPost(params struct {
|
||||
rule.Operator = params.Operator
|
||||
rule.Value = params.Value
|
||||
rule.IsCaseInsensitive = params.Case
|
||||
rule.Description = params.Description
|
||||
|
||||
if len(params.OptionsJSON) > 0 {
|
||||
options := []maps.Map{}
|
||||
|
||||
Reference in New Issue
Block a user