diff --git a/pkg/rpc/protos/service_http_access_log.proto b/pkg/rpc/protos/service_http_access_log.proto index 755a220..981edec 100644 --- a/pkg/rpc/protos/service_http_access_log.proto +++ b/pkg/rpc/protos/service_http_access_log.proto @@ -28,15 +28,15 @@ message CreateHTTPAccessLogsResponse { // 列出往前的单页访问日志 message ListHTTPAccessLogsRequest { - string requestId = 1; - int64 serverId = 2; - int64 size = 3; - string day = 4; - bool reverse = 5; // 是否反向查找 - bool hasError = 6; - int64 firewallPolicyId = 7; // WAF策略ID - int64 firewallRuleGroupId = 8; // WAF分组ID - int64 firewallRuleSetId = 9; // WAF规则集ID + string requestId = 1; // 上一页请求ID,可选 + int64 serverId = 2; // 服务ID + int64 size = 3; // 单页条数 + string day = 4; // 日期 + bool reverse = 5; // 是否反向查找,可选 + bool hasError = 6; // 是否有错误,可选 + int64 firewallPolicyId = 7; // WAF策略ID,可选 + int64 firewallRuleGroupId = 8; // WAF分组ID,可选 + int64 firewallRuleSetId = 9; // WAF规则集ID,可选 } message ListHTTPAccessLogsResponse { diff --git a/pkg/rpc/protos/service_ip_item.proto b/pkg/rpc/protos/service_ip_item.proto index f3e9142..3c71648 100644 --- a/pkg/rpc/protos/service_ip_item.proto +++ b/pkg/rpc/protos/service_ip_item.proto @@ -32,11 +32,11 @@ service IPItemService { // 创建IP message CreateIPItemRequest { - int64 ipListId = 1; - string ipFrom = 2; - string ipTo = 3; - int64 expiredAt = 4; - string reason = 5; + int64 ipListId = 1; // IP列表ID + string ipFrom = 2; // 开始IP + string ipTo = 3; // 结束IP(可选) + int64 expiredAt = 4; // 过期时间戳(可选) + string reason = 5; // 加入理由(可选) } message CreateIPItemResponse {