mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-15 21:36:35 +08:00
IP名单新增IPv6和所有IP两种类型
This commit is contained in:
@@ -12,4 +12,5 @@ message IPItem {
|
||||
string reason = 6;
|
||||
int64 listId = 7;
|
||||
bool isDeleted = 8;
|
||||
string type = 9;
|
||||
}
|
||||
@@ -37,6 +37,7 @@ message CreateIPItemRequest {
|
||||
string ipTo = 3; // 结束IP(可选)
|
||||
int64 expiredAt = 4; // 过期时间戳(可选)
|
||||
string reason = 5; // 加入理由(可选)
|
||||
string type = 6; // 类型
|
||||
}
|
||||
|
||||
message CreateIPItemResponse {
|
||||
@@ -50,6 +51,7 @@ message UpdateIPItemRequest {
|
||||
string ipTo = 3;
|
||||
int64 expiredAt = 4;
|
||||
string reason = 5;
|
||||
string type = 6; // 类型
|
||||
}
|
||||
|
||||
// 删除IP
|
||||
|
||||
Reference in New Issue
Block a user