WAF策略:可以修改分组代号/导入时可以根据名称合并

This commit is contained in:
刘祥超
2021-12-12 20:24:36 +08:00
parent 49da653ed8
commit 59ce71f72e
5 changed files with 92 additions and 82 deletions

View File

@@ -75,7 +75,7 @@ func (this *HTTPFirewallRuleGroupService) UpdateHTTPFirewallRuleGroup(ctx contex
tx := this.NullTx()
err = models.SharedHTTPFirewallRuleGroupDAO.UpdateGroup(tx, req.FirewallRuleGroupId, req.IsOn, req.Name, req.Description)
err = models.SharedHTTPFirewallRuleGroupDAO.UpdateGroup(tx, req.FirewallRuleGroupId, req.IsOn, req.Name, req.Code, req.Description)
if err != nil {
return nil, err
}