Browse Source

feat(model): 在 globallimit表中添加 BanUdp 字段

- 在 Globallimit 结构体中新增 BanUdp 字段,类型为 int
- 该字段用于记录全局限流规则中 UDP 封禁状态
fusu 1 month ago
parent
commit
da6e6034e9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      internal/model/globallimit.go

+ 1 - 0
internal/model/globallimit.go

@@ -7,6 +7,7 @@ type GlobalLimit struct {
 	HostId          int
 	RuleId          int
 	Uid             int
+	BanUdp          int
 	TcpLimitRuleId  int
 	UdpLimitRuleId  int
 	WebLimitRuleId  int