增加服务之间拷贝配置的API(开源版本只有定义,没有实现)
This commit is contained in:
@@ -4,7 +4,8 @@ option go_package = "./pb";
|
||||
package pb;
|
||||
|
||||
message ServerGroup {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
int64 userId = 3;
|
||||
int64 id = 1; // ID
|
||||
string name = 2; // 分组名称
|
||||
int64 userId = 3; // 所属用户ID
|
||||
bool isOn = 4; // 是否启用
|
||||
}
|
||||
@@ -73,10 +73,11 @@ message DeleteServerGroupRequest {
|
||||
|
||||
// 查询所有分组
|
||||
message FindAllEnabledServerGroupsRequest {
|
||||
int64 userId = 1; // 可选项,用户ID,只有管理员才可以指定用户ID
|
||||
}
|
||||
|
||||
message FindAllEnabledServerGroupsResponse {
|
||||
repeated ServerGroup serverGroups = 1;
|
||||
repeated ServerGroup serverGroups = 1; // 分组列表
|
||||
}
|
||||
|
||||
// 修改分组排序
|
||||
|
||||
Reference in New Issue
Block a user