diff --git a/build/rpc.json b/build/rpc.json index e270541..cb24b9a 100644 --- a/build/rpc.json +++ b/build/rpc.json @@ -14291,7 +14291,7 @@ }, { "name": "CheckHTTPFirewallPolicyIPStatusResponse", - "code": "message CheckHTTPFirewallPolicyIPStatusResponse {\n\tbool isOk = 1; // 是否查询成功\n\tstring error = 2; // 错误信息\n\tbool isFound = 3; // 是否找到\n\tbool isAllowed = 4; // 是否允许\n\tIPList ipList = 5; // 匹配的IPList\n\tIPItem ipItem = 6; // 匹配的IPItem\n\tRegionCountry regionCountry = 7; // 匹配到封禁的地区\n\tRegionProvince regionProvince = 8; // 匹配到封禁的省份\n}", + "code": "message CheckHTTPFirewallPolicyIPStatusResponse {\n\tbool isOk = 1; // 是否查询成功\n\tstring error = 2; // 错误信息\n\tbool isFound = 3; // 是否找到\n\tbool isAllowed = 4; // 是否允许访问\n\tIPList ipList = 5; // 匹配的IPList\n\tIPItem ipItem = 6; // 匹配的IPItem\n\tRegionCountry regionCountry = 7; // 匹配到封禁的地区\n\tRegionProvince regionProvince = 8; // 匹配到封禁的省份\n}", "doc": "" }, { diff --git a/pkg/rpc/pb/service_http_firewall_policy.pb.go b/pkg/rpc/pb/service_http_firewall_policy.pb.go index 315c989..73820cb 100644 --- a/pkg/rpc/pb/service_http_firewall_policy.pb.go +++ b/pkg/rpc/pb/service_http_firewall_policy.pb.go @@ -1189,7 +1189,7 @@ type CheckHTTPFirewallPolicyIPStatusResponse struct { IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"` // 是否查询成功 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // 错误信息 IsFound bool `protobuf:"varint,3,opt,name=isFound,proto3" json:"isFound,omitempty"` // 是否找到 - IsAllowed bool `protobuf:"varint,4,opt,name=isAllowed,proto3" json:"isAllowed,omitempty"` // 是否允许 + IsAllowed bool `protobuf:"varint,4,opt,name=isAllowed,proto3" json:"isAllowed,omitempty"` // 是否允许访问 IpList *IPList `protobuf:"bytes,5,opt,name=ipList,proto3" json:"ipList,omitempty"` // 匹配的IPList IpItem *IPItem `protobuf:"bytes,6,opt,name=ipItem,proto3" json:"ipItem,omitempty"` // 匹配的IPItem RegionCountry *RegionCountry `protobuf:"bytes,7,opt,name=regionCountry,proto3" json:"regionCountry,omitempty"` // 匹配到封禁的地区 diff --git a/pkg/rpc/protos/service_http_firewall_policy.proto b/pkg/rpc/protos/service_http_firewall_policy.proto index 595e3be..39db2a8 100644 --- a/pkg/rpc/protos/service_http_firewall_policy.proto +++ b/pkg/rpc/protos/service_http_firewall_policy.proto @@ -181,7 +181,7 @@ message CheckHTTPFirewallPolicyIPStatusResponse { bool isOk = 1; // 是否查询成功 string error = 2; // 错误信息 bool isFound = 3; // 是否找到 - bool isAllowed = 4; // 是否允许 + bool isAllowed = 4; // 是否允许访问 IPList ipList = 5; // 匹配的IPList IPItem ipItem = 6; // 匹配的IPItem RegionCountry regionCountry = 7; // 匹配到封禁的地区