commit code

This commit is contained in:
2025-05-31 21:44:34 +08:00
parent bfca5d7d0b
commit ca373ad91f
19 changed files with 496 additions and 126 deletions

View File

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