mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-07 11:40:01 +08:00
db
This commit is contained in:
parent
e34ad36912
commit
6755303f0a
@ -12,6 +12,7 @@ import (
|
||||
rpc "Open_IM/pkg/proto/group"
|
||||
"Open_IM/pkg/utils"
|
||||
"context"
|
||||
"google.golang.org/grpc/metadata"
|
||||
|
||||
"github.com/golang/protobuf/ptypes/wrappers"
|
||||
"google.golang.org/grpc"
|
||||
@ -1280,7 +1281,8 @@ func GetGroupAbstractInfo(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
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,
|
||||
OpUserID: opUserID,
|
||||
OperationID: req.OperationID,
|
||||
|
Loading…
x
Reference in New Issue
Block a user