Explorar el Código

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

- 在 Globallimit 结构体中新增 BanUdp 字段,类型为 int
- 该字段用于记录全局限流规则中 UDP 封禁状态
fusu hace 1 mes
padre
commit
da6e6034e9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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