创建IPList时可以指定服务ID

This commit is contained in:
GoEdgeLab
2022-06-15 19:22:56 +08:00
parent ce604e5f53
commit 214abd6397
3 changed files with 111 additions and 100 deletions

View File

@@ -102,6 +102,7 @@ func (this *IPListDAO) CreateIPListForServerId(ctx context.Context, serverId int
Type: listType,
Name: "IP名单",
Code: listType,
ServerId: serverId,
TimeoutJSON: nil,
})
if err != nil {