u
This commit is contained in:
1 parent
59d3be2299
commit
33ab76f73e
13 files changed
+172
-374
No files matched your search
@@ -36,10 +36,6 @@ service SpaceUserService{
|
||||
rpc RemoveSpaceUser(RemoveSpaceUserParams) returns (RemoveSpaceUserResult){
|
||||
option (api.post) = '/space/user/remove';
|
||||
};
|
||||
// 更新用户权限
|
||||
rpc UpdateSpaceUserRole(UpdateSpaceUserRoleParams) returns (UpdateSpaceUserRoleResult){
|
||||
option (api.post) = '/space/user/updateRole';
|
||||
};
|
||||
// 加入空间
|
||||
rpc JoinSpace(JoinSpaceParams) returns (JoinSpaceResult) {
|
||||
option (api.post) = "/space/user/join";
|
||||
|
||||
@@ -48,17 +48,6 @@ message RemoveSpaceUserResult {
|
||||
|
||||
}
|
||||
|
||||
// 更新用户权限
|
||||
message UpdateSpaceUserRoleParams {
|
||||
int64 SpaceId = 1[(api.body) = "space_id",(api.vd)="$ != 0"];
|
||||
int64 UserId = 2[(api.body) = "user_id",(api.vd)="$ != 0"];
|
||||
int32 Role = 3 [(api.body) = "role", (api.vd) = "$ == 1 || $ == 2"];
|
||||
}
|
||||
|
||||
message UpdateSpaceUserRoleResult{
|
||||
|
||||
}
|
||||
|
||||
// 获取当前用户的空间信息
|
||||
message GetUserSpaceParams{
|
||||
|
||||
|
||||
Reference in new issue
Block a user