refactor: 逻辑规则显示效果
This commit is contained in:
@@ -29,7 +29,7 @@ func NewNOT(payload string, adapter string) (*NOT, error) {
|
||||
}
|
||||
|
||||
not.rule = rule[0]
|
||||
not.payload = fmt.Sprintf("!(%s)", rule[0].Payload())
|
||||
not.payload = fmt.Sprintf("(!(%s,%s))", rule[0].RuleType(), rule[0].Payload())
|
||||
|
||||
return not, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user