mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-22 12:59:18 +08:00
super group
This commit is contained in:
parent
daec07b09e
commit
f189bb83e5
@ -4,6 +4,7 @@ source ./proto_dir.cfg
|
|||||||
|
|
||||||
for ((i = 0; i < ${#all_proto[*]}; i++)); do
|
for ((i = 0; i < ${#all_proto[*]}; i++)); do
|
||||||
proto=${all_proto[$i]}
|
proto=${all_proto[$i]}
|
||||||
|
|
||||||
protoc -I ../../../ -I ./ --go_out=plugins=grpc:. $proto
|
protoc -I ../../../ -I ./ --go_out=plugins=grpc:. $proto
|
||||||
s=`echo $proto | sed 's/ //g'`
|
s=`echo $proto | sed 's/ //g'`
|
||||||
v=${s//proto/pb.go}
|
v=${s//proto/pb.go}
|
||||||
@ -11,3 +12,6 @@ for ((i = 0; i < ${#all_proto[*]}; i++)); do
|
|||||||
echo "protoc --go_out=plugins=grpc:." $proto
|
echo "protoc --go_out=plugins=grpc:." $proto
|
||||||
done
|
done
|
||||||
echo "proto file generate success..."
|
echo "proto file generate success..."
|
||||||
|
|
||||||
|
find ./ -type f -path "*.pb.go"|xargs sed -i 's/\".\/sdk_ws\"/\"Open_IM\/pkg\/proto\/sdk_ws\"/g'
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -170,30 +170,51 @@ message UserInDepartment {
|
|||||||
|
|
||||||
|
|
||||||
///////////////////////////////////base end/////////////////////////////////////
|
///////////////////////////////////base end/////////////////////////////////////
|
||||||
|
message PullMessageBySeqListReq{
|
||||||
|
string userID = 1;
|
||||||
|
string operationID = 2;
|
||||||
|
repeated uint32 seqList = 3;
|
||||||
|
map <string, seqList>groupSeqList = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message seqList {
|
||||||
|
repeated uint32 seqList = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
message MsgDataList {
|
||||||
|
repeated MsgData msgDataList = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message PullMessageBySeqListResp {
|
message PullMessageBySeqListResp {
|
||||||
int32 errCode = 1;
|
int32 errCode = 1;
|
||||||
string errMsg = 2;
|
string errMsg = 2;
|
||||||
repeated MsgData list = 3;
|
repeated MsgData list = 3;
|
||||||
|
map<string, MsgDataList> groupMsgDataList = 4;
|
||||||
}
|
}
|
||||||
message PullMessageBySeqListReq{
|
|
||||||
string userID = 1;
|
|
||||||
string operationID = 2;
|
|
||||||
repeated uint32 seqList = 3;
|
|
||||||
}
|
|
||||||
message GetMaxAndMinSeqReq {
|
message GetMaxAndMinSeqReq {
|
||||||
|
repeated string groupIDList = 1;
|
||||||
|
string userID = 2;
|
||||||
|
}
|
||||||
|
message MaxAndMinSeq{
|
||||||
|
uint32 maxSeq = 1;
|
||||||
|
uint32 minSeq = 2;
|
||||||
}
|
}
|
||||||
message GetMaxAndMinSeqResp {
|
message GetMaxAndMinSeqResp {
|
||||||
uint32 maxSeq = 1;
|
uint32 maxSeq = 1;
|
||||||
uint32 minSeq = 2;
|
uint32 minSeq = 2;
|
||||||
|
map<string, MaxAndMinSeq> groupMaxAndMinSeq = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message UserSendMsgResp {
|
message UserSendMsgResp {
|
||||||
string serverMsgID = 1;
|
string serverMsgID = 1;
|
||||||
string clientMsgID = 2;
|
string clientMsgID = 2;
|
||||||
int64 sendTime = 3;
|
int64 sendTime = 3;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message MsgData {
|
message MsgData {
|
||||||
string sendID = 1;
|
string sendID = 1;
|
||||||
string recvID = 2;
|
string recvID = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user