commit code
This commit is contained in:
@ -31,6 +31,9 @@ service Category {
|
||||
|
||||
// 根据系统ID获取分类
|
||||
rpc GetSystemCategories(GetSystemCategoriesRequest) returns (GetSystemCategoriesResponse);
|
||||
|
||||
// 获取某一个类别的完整类别(从根类别到当前类别的所有类别)
|
||||
rpc GetFullCategories(GetCategoryRequest) returns (GetFullCategoriesResponse);
|
||||
}
|
||||
|
||||
// 健康检查请求
|
||||
@ -88,6 +91,11 @@ message GetCategoryRequest {
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
// 获取全分类名称的响应
|
||||
message GetFullCategoriesResponse {
|
||||
string full_category_name = 1;
|
||||
}
|
||||
|
||||
// 分类信息响应
|
||||
message CategoryInfoResponse {
|
||||
CategoryInfo category = 1;
|
||||
|
||||
Reference in New Issue
Block a user