补充注释

This commit is contained in:
GoEdgeLab
2021-01-03 21:38:12 +08:00
parent ecd16cba0e
commit 07ce2ba3db
2 changed files with 14 additions and 14 deletions

View File

@@ -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 {

View File

@@ -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 {