mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-15 22:39:03 +08:00
protocol modify
This commit is contained in:
@@ -47,41 +47,9 @@ message GetMaxAndMinSeqReq {
|
||||
message GetMaxAndMinSeqResp {
|
||||
int32 ErrCode = 1;
|
||||
string ErrMsg = 2;
|
||||
int64 MaxSeq = 3;
|
||||
int64 MinSeq = 4;
|
||||
uint32 MaxSeq = 3;
|
||||
uint32 MinSeq = 4;
|
||||
}
|
||||
//message GatherFormat{
|
||||
// // @inject_tag: json:"id"
|
||||
// string ID = 1;
|
||||
// // @inject_tag: json:"list"
|
||||
// repeated MsgFormat List = 2;//detail msg
|
||||
//}
|
||||
//message MsgFormat{
|
||||
// // @inject_tag: json:"sendID"
|
||||
// string SendID = 1;
|
||||
// // @inject_tag: json:"recvID"
|
||||
// string RecvID = 2;
|
||||
// // @inject_tag: json:"msgFrom"
|
||||
// int32 MsgFrom = 3;
|
||||
// // @inject_tag: json:"contentType"
|
||||
// int32 ContentType = 4;
|
||||
// // @inject_tag: json:"serverMsgID"
|
||||
// string ServerMsgID = 5;
|
||||
// // @inject_tag: json:"content"
|
||||
// string Content = 6;
|
||||
// // @inject_tag: json:"seq"
|
||||
// int64 Seq = 7;
|
||||
// // @inject_tag: json:"sendTime"
|
||||
// int64 SendTime = 8;
|
||||
// // @inject_tag: json:"senderPlatformID"
|
||||
// int32 SenderPlatformID = 9;
|
||||
// // @inject_tag: json:"senderNickName"
|
||||
// string SenderNickName = 10;
|
||||
// // @inject_tag: json:"senderFaceUrl"
|
||||
// string SenderFaceURL = 11;
|
||||
// // @inject_tag: json:"clientMsgID"
|
||||
// string ClientMsgID = 12;
|
||||
//}
|
||||
|
||||
message SendMsgReq {
|
||||
|
||||
@@ -102,7 +70,6 @@ message SendMsgResp {
|
||||
}
|
||||
service Chat {
|
||||
rpc GetMaxAndMinSeq(GetMaxAndMinSeqReq) returns(GetMaxAndMinSeqResp);
|
||||
rpc PullMessage(server_api_params.PullMessageReq) returns(server_api_params.PullMessageResp);
|
||||
rpc PullMessageBySeqList(server_api_params.PullMessageBySeqListReq) returns(server_api_params.PullMessageBySeqListResp);
|
||||
rpc SendMsg(SendMsgReq) returns(SendMsgResp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user