mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-30 22:42:29 +08:00
Refactor code
This commit is contained in:
parent
2a3cf5f002
commit
839123408b
@ -58,7 +58,7 @@ message GetFriendApplyListReq{
|
|||||||
message GetFriendApplyListResp{
|
message GetFriendApplyListResp{
|
||||||
int32 ErrCode = 1;
|
int32 ErrCode = 1;
|
||||||
string ErrMsg = 2;
|
string ErrMsg = 2;
|
||||||
repeated open_im_sdk.FriendRequest FriendRequestList = 3;
|
repeated server_api_params.FriendRequest FriendRequestList = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package open_im_sdk;//The package name to which the proto file belongs
|
package server_api_params;//The package name to which the proto file belongs
|
||||||
//option go_package = "./sdk_ws;open_im_sdk";//The generated go pb file is in the current directory, and the package name is open_im_sdk
|
//option go_package = "./sdk_ws;open_im_sdk";//The generated go pb file is in the current directory, and the package name is open_im_sdk
|
||||||
|
|
||||||
////////////////////////////////base///////////////////////////////
|
////////////////////////////////base///////////////////////////////
|
||||||
@ -88,14 +88,20 @@ message GroupRequest{
|
|||||||
|
|
||||||
message FriendRequest{
|
message FriendRequest{
|
||||||
string fromUserID = 1;
|
string fromUserID = 1;
|
||||||
string toUserID = 2;
|
string fromNickname = 2;
|
||||||
int32 handleResult = 3;
|
string fromFaceURL = 3;
|
||||||
string reqMsg = 4;
|
string fromGender = 4;
|
||||||
uint32 createTime = 5;
|
string toUserID = 5;
|
||||||
string handlerUserID = 6;
|
string toNickname = 6;
|
||||||
string handleMsg = 7;
|
string toFaceURL = 7;
|
||||||
uint32 handleTime = 8;
|
string toGender = 8;
|
||||||
string ex = 9;
|
int32 handleResult = 9;
|
||||||
|
string reqMsg = 10;
|
||||||
|
uint32 createTime = 11;
|
||||||
|
string handlerUserID = 12;
|
||||||
|
string handleMsg = 13;
|
||||||
|
uint32 handleTime = 14;
|
||||||
|
string ex = 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////base end/////////////////////////////////////
|
///////////////////////////////////base end/////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user