IP名单新增IPv6和所有IP两种类型

This commit is contained in:
GoEdgeLab
2021-02-02 15:25:49 +08:00
parent 4d1409caff
commit c72c669cfa
5 changed files with 118 additions and 87 deletions

View File

@@ -12,4 +12,5 @@ message IPItem {
string reason = 6;
int64 listId = 7;
bool isDeleted = 8;
string type = 9;
}

View File

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