浏览代码

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

- 在 Globallimit 结构体中新增 BanUdp 字段,类型为 int
- 该字段用于记录全局限流规则中 UDP 封禁状态
fusu 1 月之前
父节点
当前提交
da6e6034e9
共有 1 个文件被更改,包括 1 次插入0 次删除
  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