refactor: add unified all service gateway
This commit is contained in:
@@ -9,22 +9,22 @@ service Staff {
|
||||
rpc Login(LoginRequest) returns (LoginReply) {}
|
||||
|
||||
// 获取工作人员列表
|
||||
rpc Fetch(blocks.MallFetchRequest) returns (StaffListReply) {}
|
||||
rpc Fetch(ec_mall_blocks.MallFetchRequest) returns (StaffListReply) {}
|
||||
|
||||
// 创建工作人员
|
||||
rpc Create(StaffItem) returns (blocks.IdentityStatusReply) {}
|
||||
rpc Create(StaffItem) returns (ec_mall_blocks.IdentityStatusReply) {}
|
||||
|
||||
// 删除工作人员
|
||||
rpc Delete(blocks.IdentRequest) returns (blocks.IdentityStatusReply) {}
|
||||
rpc Delete(ec_mall_blocks.IdentRequest) returns (ec_mall_blocks.IdentityStatusReply) {}
|
||||
|
||||
// 获取个人信息
|
||||
rpc GetProfile(blocks.IdentRequest) returns (StaffItem) {}
|
||||
rpc GetProfile(ec_mall_blocks.IdentRequest) returns (StaffItem) {}
|
||||
|
||||
// 设置个人信息
|
||||
rpc SetProfile(StaffItem) returns (blocks.IdentityStatusReply) {}
|
||||
rpc SetProfile(StaffItem) returns (ec_mall_blocks.IdentityStatusReply) {}
|
||||
|
||||
// 设置账号密码
|
||||
rpc SetPassword(SetAccountRequest) returns (blocks.IdentityStatusReply) {}
|
||||
rpc SetPassword(SetAccountRequest) returns (ec_mall_blocks.IdentityStatusReply) {}
|
||||
}
|
||||
|
||||
message LoginRequest {
|
||||
@@ -71,4 +71,4 @@ message StaffItem {
|
||||
message StaffListReply {
|
||||
repeated StaffItem data = 1;
|
||||
int64 count = 2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user