IP名单中可以批量删除最多10000个IP

This commit is contained in:
GoEdgeLab
2023-12-24 10:53:03 +08:00
parent 6d44a11fbb
commit 9af127eba2
5 changed files with 112 additions and 4 deletions

View File

@@ -63,6 +63,7 @@ func (this *IndexAction) RunGet(params struct {
}
var count = countResp.Count
var page = this.NewPage(count)
this.Data["totalItems"] = count
this.Data["page"] = page.AsHTML()
itemsResp, err := this.RPC().IPItemRPC().ListAllEnabledIPItems(this.AdminContext(), &pb.ListAllEnabledIPItemsRequest{