refactor: add unified all service gateway
This commit is contained in:
@@ -9,13 +9,13 @@ service Category{
|
||||
rpc Fetch(CategoryFetchRequest) returns(CategoryReply) {};
|
||||
|
||||
// 添加分类
|
||||
rpc Create(CategoryItem) returns(blocks.IdentityStatusReply) {};
|
||||
rpc Create(CategoryItem) returns(ec_mall_blocks.IdentityStatusReply) {};
|
||||
|
||||
// 删除分类
|
||||
rpc Delete(blocks.IdentRequest) returns(blocks.IdentityStatusReply) {};
|
||||
rpc Delete(ec_mall_blocks.IdentRequest) returns(ec_mall_blocks.IdentityStatusReply) {};
|
||||
|
||||
// 修改分类
|
||||
rpc Modify(CategoryItem) returns(blocks.IdentityStatusReply) {};
|
||||
rpc Modify(CategoryItem) returns(ec_mall_blocks.IdentityStatusReply) {};
|
||||
|
||||
}
|
||||
|
||||
@@ -45,4 +45,4 @@ message CategoryItem{
|
||||
string created_at = 11 [json_name="created_at"]; // 创建时间
|
||||
repeated CategoryItem categories = 12; // 子集
|
||||
string keys = 13; //关键词
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user