提交 83912340 编写于 作者: W wenxu12345

Refactor code

上级 2a3cf5f0
......@@ -58,7 +58,7 @@ message GetFriendApplyListReq{
message GetFriendApplyListResp{
int32 ErrCode = 1;
string ErrMsg = 2;
repeated open_im_sdk.FriendRequest FriendRequestList = 3;
repeated server_api_params.FriendRequest FriendRequestList = 3;
}
......
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
////////////////////////////////base///////////////////////////////
......@@ -87,15 +87,21 @@ message GroupRequest{
}
message FriendRequest{
string fromUserID = 1;
string toUserID = 2;
int32 handleResult = 3;
string reqMsg = 4;
uint32 createTime = 5;
string handlerUserID = 6;
string handleMsg = 7;
uint32 handleTime = 8;
string ex = 9;
string fromUserID = 1;
string fromNickname = 2;
string fromFaceURL = 3;
string fromGender = 4;
string toUserID = 5;
string toNickname = 6;
string toFaceURL = 7;
string toGender = 8;
int32 handleResult = 9;
string reqMsg = 10;
uint32 createTime = 11;
string handlerUserID = 12;
string handleMsg = 13;
uint32 handleTime = 14;
string ex = 15;
}
///////////////////////////////////base end/////////////////////////////////////
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册