方法列表
- createIPList - 创建IP列表
- updateIPList - 修改IP列表
- findEnabledIPList - 查找IP列表信息
- countAllEnabledIPLists - 计算名单数量
- listEnabledIPLists - 列出单页名单
- deleteIPList - 删除IP名单
- existsEnabledIPList - 检查IPList是否存在
- findEnabledIPListContainsIP - 根据IP来搜索IP名单
- findServerIdWithIPListId - 查找IP名单对应的网站ID
- findIPListIdWithCode - 根据IP名单代号获取IP名单ID
创建IP列表 admin user RPC createIPList (CreateIPListRequest) returns (CreateIPListResponse)HTTP POST /IPListService/createIPList |
---|
输入对象:CreateIPListRequest: |
输出对象:CreateIPListResponse: |
修改IP列表 admin RPC updateIPList (UpdateIPListRequest) returns (RPCSuccess)HTTP POST /IPListService/updateIPList |
---|
输入对象:UpdateIPListRequest: |
输出对象:RPCSuccess: |
查找IP列表信息 admin user RPC findEnabledIPList (FindEnabledIPListRequest) returns (FindEnabledIPListResponse)HTTP POST /IPListService/findEnabledIPList |
---|
输入对象:FindEnabledIPListRequest: |
输出对象:FindEnabledIPListResponse: |
计算名单数量 admin RPC countAllEnabledIPLists (CountAllEnabledIPListsRequest) returns (RPCCountResponse)HTTP POST /IPListService/countAllEnabledIPLists |
---|
输入对象:CountAllEnabledIPListsRequest: |
输出对象:RPCCountResponse: |
列出单页名单 admin RPC listEnabledIPLists (ListEnabledIPListsRequest) returns (ListEnabledIPListsResponse)HTTP POST /IPListService/listEnabledIPLists |
---|
输入对象:ListEnabledIPListsRequest: |
输出对象:ListEnabledIPListsResponse: |
删除IP名单 admin RPC deleteIPList (DeleteIPListRequest) returns (RPCSuccess)HTTP POST /IPListService/deleteIPList |
---|
输入对象:DeleteIPListRequest: |
输出对象:RPCSuccess: |
检查IPList是否存在 admin RPC existsEnabledIPList (ExistsEnabledIPListRequest) returns (ExistsEnabledIPListResponse)HTTP POST /IPListService/existsEnabledIPList |
---|
输入对象:ExistsEnabledIPListRequest: |
输出对象:ExistsEnabledIPListResponse: |
根据IP来搜索IP名单 admin RPC findEnabledIPListContainsIP (FindEnabledIPListContainsIPRequest) returns (FindEnabledIPListContainsIPResponse)HTTP POST /IPListService/findEnabledIPListContainsIP |
---|
输入对象:FindEnabledIPListContainsIPRequest: |
输出对象:FindEnabledIPListContainsIPResponse: |