mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-22 04:39:19 +08:00
del print
This commit is contained in:
parent
fb43fa9b4f
commit
bf9fe0bea5
@ -10,7 +10,6 @@ import (
|
||||
pbGroup "Open_IM/src/proto/group"
|
||||
"Open_IM/src/utils"
|
||||
"context"
|
||||
"fmt"
|
||||
"google.golang.org/grpc"
|
||||
"net"
|
||||
"strconv"
|
||||
@ -129,10 +128,5 @@ func (s *groupServer) CreateGroup(ctx context.Context, req *pbGroup.CreateGroupR
|
||||
// OperationID: req.OperationID,
|
||||
//})
|
||||
log.Info(req.Token, req.OperationID, "rpc create group success return")
|
||||
|
||||
t := db.DB.GetGroupMember(groupId)
|
||||
fmt.Println("YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY")
|
||||
fmt.Println(t)
|
||||
|
||||
return &pbGroup.CreateGroupResp{GroupID: groupId}, nil
|
||||
}
|
||||
|
@ -135,10 +135,6 @@ func (s *groupServer) InviteUserToGroup(ctx context.Context, req *pbGroup.Invite
|
||||
logic.SendMsgByWS(&chatMsg)
|
||||
*/
|
||||
|
||||
t := db.DB.GetGroupMember(req.GroupID)
|
||||
fmt.Println("YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY")
|
||||
fmt.Println(t)
|
||||
|
||||
return &resp, nil
|
||||
}
|
||||
|
||||
@ -288,9 +284,6 @@ func (s *groupServer) KickGroupMember(ctx context.Context, req *pbGroup.KickGrou
|
||||
}
|
||||
*/
|
||||
|
||||
t := db.DB.GetGroupMember(req.GroupID)
|
||||
fmt.Println("YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY")
|
||||
fmt.Println(t)
|
||||
|
||||
resp.ErrorCode = 0
|
||||
return &resp, nil
|
||||
|
@ -6,7 +6,6 @@ import (
|
||||
"Open_IM/src/common/log"
|
||||
"Open_IM/src/proto/group"
|
||||
"context"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func (s *groupServer) GroupApplicationResponse(_ context.Context, pb *group.GroupApplicationResponseReq) (*group.GroupApplicationResponseResp, error) {
|
||||
@ -34,10 +33,6 @@ func (s *groupServer) GroupApplicationResponse(_ context.Context, pb *group.Grou
|
||||
}
|
||||
}
|
||||
|
||||
t := db.DB.GetGroupMember(pb.GroupID)
|
||||
fmt.Println("YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY")
|
||||
fmt.Println(t)
|
||||
|
||||
log.Info("", "", "rpc GroupApplicationResponse call..., im_mysql_model.GroupApplicationResponse")
|
||||
|
||||
return reply, nil
|
||||
|
@ -8,7 +8,6 @@ import (
|
||||
pbGroup "Open_IM/src/proto/group"
|
||||
"Open_IM/src/utils"
|
||||
"context"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func (s *groupServer) QuitGroup(ctx context.Context, req *pbGroup.QuitGroupReq) (*pbGroup.CommonResp, error) {
|
||||
@ -52,9 +51,5 @@ func (s *groupServer) QuitGroup(ctx context.Context, req *pbGroup.QuitGroupReq)
|
||||
//})
|
||||
log.Info(req.Token, req.OperationID, "rpc quit group is success return")
|
||||
|
||||
t := db.DB.GetGroupMember(req.GroupID)
|
||||
fmt.Println("YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY")
|
||||
fmt.Println(t)
|
||||
|
||||
return &pbGroup.CommonResp{}, nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user