WAF规则增加备注信息/其他界面优化

This commit is contained in:
GoEdgeLab
2022-01-10 10:28:23 +08:00
parent 8efae182c9
commit 0e531443f2
10 changed files with 19 additions and 4 deletions

View File

@@ -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{}