1、静态规则新增和修改添加白名单规则冲突检查

This commit is contained in:
PushM
2024-04-29 01:27:36 +08:00
parent 3936c63457
commit 0b67e0f728
3 changed files with 31 additions and 8 deletions

View File

@@ -32,12 +32,11 @@ public class StaticRuleServiceTest extends ProtectionApplicationTests {
staticRuleTest.setStaticRuleCreateUserId(2);
staticRuleTest.setAuditStatus(0);
staticRuleTest.setStaticRuleSip("1.1.2.0");
staticRuleTest.setStaticRuleMsip("255.255.255.0");
staticRuleTest.setStaticRuleSip("2.2.2.2");
// staticRuleTest.setStaticRuleDip("1.1.1.2");
// staticRuleTest.setStaticRuleMdip("255.255.255.0");
staticRuleTest.setStaticRuleSport(80);
staticRuleTest.setStaticRuleSport(11);
staticRuleTest.setStaticRulePriority(1);
staticRuleTest.setStaticRuleFrequency(1);