|
|
|
@ -111,7 +111,7 @@ func (ws *WServer) pullMsgBySeqListReq(conn *UserConn, m *Req) {
|
|
|
|
|
rpcReq.SeqList = data.(sdk_ws.PullMessageBySeqListReq).SeqList
|
|
|
|
|
rpcReq.UserID = m.SendID
|
|
|
|
|
rpcReq.OperationID = m.OperationID
|
|
|
|
|
log.NewInfo(m.OperationID, "Ws call success to pullMsgBySeqListReq middle", m.SendID, m.ReqIdentifier, m.MsgIncr, data.(sdk_ws.PullMessageBySeqListReq).SeqList)
|
|
|
|
|
log.NewInfo(m.OperationID, "Ws call success to pullMsgBySeqListReq middle", m.SendID, m.ReqIdentifier, m.MsgIncr, data.(sdk_ws.PullMessageBySeqListReq).SeqList, data.(sdk_ws.PullMessageBySeqListReq).GroupSeqList)
|
|
|
|
|
grpcConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImOfflineMessageName)
|
|
|
|
|
msgClient := pbChat.NewChatClient(grpcConn)
|
|
|
|
|
reply, err := msgClient.PullMessageBySeqList(context.Background(), &rpcReq)
|
|
|
|
|