优化代码

This commit is contained in:
刘祥超
2022-03-22 22:11:32 +08:00
parent 30bfbdc01e
commit f958c57984
68 changed files with 148 additions and 148 deletions

View File

@@ -95,7 +95,7 @@ func (this *HTTPFirewallRuleGroupDAO) ComposeFirewallRuleGroup(tx *dbs.Tx, group
config.Name = group.Name
config.Description = group.Description
config.Code = group.Code
config.IsTemplate = group.IsTemplate == 1
config.IsTemplate = group.IsTemplate
if IsNotNull(group.Sets) {
setRefs := []*firewallconfigs.HTTPFirewallRuleSetRef{}