mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-06 10:05:58 +08:00
cache rpc
This commit is contained in:
Vendored
+23
-3
@@ -28,13 +28,32 @@ message UpdateUserInfoResp{
|
||||
CommonResp commonResp = 1;
|
||||
}
|
||||
|
||||
|
||||
message GetFriendInfoReq {
|
||||
|
||||
string userID = 1;
|
||||
string operationID = 2;
|
||||
}
|
||||
|
||||
message GetFriendInfoResp {
|
||||
repeated server_api_params.FriendInfo friendInfoList = 1;
|
||||
CommonResp commonResp = 2;
|
||||
}
|
||||
|
||||
message UpdateBlackListReq {
|
||||
repeated server_api_params.BlackInfo blackList = 1;
|
||||
string operationID = 2;
|
||||
}
|
||||
|
||||
message UpdateBlackListResp {
|
||||
CommonResp commonResp = 1;
|
||||
}
|
||||
|
||||
message GetBlackListReq {
|
||||
string userID = 1;
|
||||
string operationID = 2;
|
||||
}
|
||||
|
||||
message GetBlackListResp {
|
||||
repeated server_api_params.BlackInfo blackList = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +71,8 @@ service cache{
|
||||
rpc UpdateUserInfo(UpdateUserInfoReq) returns(UpdateUserInfoResp);
|
||||
rpc GetFriendInfo(GetFriendInfoReq) returns(GetFriendInfoResp);
|
||||
rpc UpdateFriendInfo(UpdateFriendInfoReq) returns(UpdateFriendInfoResp);
|
||||
rpc
|
||||
rpc UpdateBlackList(UpdateBlackListReq) returns(UpdateBlackListResp);
|
||||
rpc GetBlackList(GetBlackListReq) returns(GetBlackListResp);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user