mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-10 13:09:51 +08:00
db
This commit is contained in:
parent
e34ad36912
commit
6755303f0a
@ -12,6 +12,7 @@ import (
|
|||||||
rpc "Open_IM/pkg/proto/group"
|
rpc "Open_IM/pkg/proto/group"
|
||||||
"Open_IM/pkg/utils"
|
"Open_IM/pkg/utils"
|
||||||
"context"
|
"context"
|
||||||
|
"google.golang.org/grpc/metadata"
|
||||||
|
|
||||||
"github.com/golang/protobuf/ptypes/wrappers"
|
"github.com/golang/protobuf/ptypes/wrappers"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
@ -1280,7 +1281,8 @@ func GetGroupAbstractInfo(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
client := rpc.NewGroupClient(etcdConn)
|
client := rpc.NewGroupClient(etcdConn)
|
||||||
respPb, err := client.GetGroupAbstractInfo(context.Background(), &rpc.GetGroupAbstractInfoReq{
|
md := metadata.Pairs("operationID", req.OperationID, "opUserID", opUserID)
|
||||||
|
respPb, err := client.GetGroupAbstractInfo(metadata.NewOutgoingContext(c, md), &rpc.GetGroupAbstractInfoReq{
|
||||||
GroupID: req.GroupID,
|
GroupID: req.GroupID,
|
||||||
OpUserID: opUserID,
|
OpUserID: opUserID,
|
||||||
OperationID: req.OperationID,
|
OperationID: req.OperationID,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user