From 2a76dc3ac816358bbe195ce9ad1ac1b116d2d837 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Mon, 30 Jan 2023 10:40:27 +0800 Subject: [PATCH] Error code standardization --- internal/rpc/msg/friend_notification.go | 25 +- internal/rpc/user/user.go | 384 +++----------- pkg/proto/group/group.pb.go | 634 ++++++++++++++---------- pkg/proto/group/group.proto | 62 +-- 4 files changed, 469 insertions(+), 636 deletions(-) diff --git a/internal/rpc/msg/friend_notification.go b/internal/rpc/msg/friend_notification.go index 1755c2d78..b453442fb 100644 --- a/internal/rpc/msg/friend_notification.go +++ b/internal/rpc/msg/friend_notification.go @@ -25,13 +25,13 @@ func getFromToUserNickname(fromUserID, toUserID string) (string, string, error) return from.Nickname, to.Nickname, nil } -func friendNotification(commID *pbFriend.CommID, contentType int32, m proto.Message) { - log.Info(commID.OperationID, utils.GetSelfFuncName(), "args: ", commID, contentType) +func friendNotification(operationID, fromUserID, toUserID string, contentType int32, m proto.Message) { + log.Info(operationID, utils.GetSelfFuncName(), "args: ", commID, contentType) var err error var tips open_im_sdk.TipsComm tips.Detail, err = proto.Marshal(m) if err != nil { - log.Error(commID.OperationID, "Marshal failed ", err.Error(), m.String()) + log.Error(operationID, "Marshal failed ", err.Error(), m.String()) return } @@ -43,9 +43,9 @@ func friendNotification(commID *pbFriend.CommID, contentType int32, m proto.Mess tips.JsonDetail, _ = marshaler.MarshalToString(m) - fromUserNickname, toUserNickname, err := getFromToUserNickname(commID.FromUserID, commID.ToUserID) + fromUserNickname, toUserNickname, err := getFromToUserNickname(fromUserID, toUserID) if err != nil { - log.Error(commID.OperationID, "getFromToUserNickname failed ", err.Error(), commID.FromUserID, commID.ToUserID) + log.Error(operationID, "getFromToUserNickname failed ", err.Error(), fromUserID, toUserID) return } cn := config.Config.Notification @@ -71,20 +71,20 @@ func friendNotification(commID *pbFriend.CommID, contentType int32, m proto.Mess case constant.FriendInfoUpdatedNotification: tips.DefaultTips = cn.FriendInfoUpdated.DefaultTips.Tips + toUserNickname default: - log.Error(commID.OperationID, "contentType failed ", contentType) + log.Error(operationID, "contentType failed ", contentType) return } var n NotificationMsg - n.SendID = commID.FromUserID - n.RecvID = commID.ToUserID + n.SendID = fromUserID + n.RecvID = toUserID n.ContentType = contentType n.SessionType = constant.SingleChatType n.MsgFrom = constant.SysMsgType - n.OperationID = commID.OperationID + n.OperationID = operationID n.Content, err = proto.Marshal(&tips) if err != nil { - log.Error(commID.OperationID, "Marshal failed ", err.Error(), tips.String()) + log.Error(operationID, "Marshal failed ", err.Error(), tips.String()) return } Notification(&n) @@ -160,7 +160,7 @@ func BlackDeletedNotification(req *pbFriend.RemoveBlacklistReq) { friendNotification(req.CommID, constant.BlackDeletedNotification, &blackDeletedTips) } -//send to myself +// send to myself func UserInfoUpdatedNotification(operationID, opUserID string, changedUserID string) { selfInfoUpdatedTips := open_im_sdk.UserInfoUpdatedTips{UserID: changedUserID} commID := pbFriend.CommID{FromUserID: opUserID, ToUserID: changedUserID, OpUserID: opUserID, OperationID: operationID} @@ -169,6 +169,5 @@ func UserInfoUpdatedNotification(operationID, opUserID string, changedUserID str func FriendInfoUpdatedNotification(operationID, changedUserID string, needNotifiedUserID string, opUserID string) { selfInfoUpdatedTips := open_im_sdk.UserInfoUpdatedTips{UserID: changedUserID} - commID := pbFriend.CommID{FromUserID: opUserID, ToUserID: needNotifiedUserID, OpUserID: opUserID, OperationID: operationID} - friendNotification(&commID, constant.FriendInfoUpdatedNotification, &selfInfoUpdatedTips) + friendNotification(operationID, opUserID, needNotifiedUserID, constant.FriendInfoUpdatedNotification, &selfInfoUpdatedTips) } diff --git a/internal/rpc/user/user.go b/internal/rpc/user/user.go index 804045b27..6edb04f42 100644 --- a/internal/rpc/user/user.go +++ b/internal/rpc/user/user.go @@ -11,11 +11,12 @@ import ( "Open_IM/pkg/common/token_verify" "Open_IM/pkg/common/tools" "Open_IM/pkg/getcdv3" - pbConversation "Open_IM/pkg/proto/conversation" pbFriend "Open_IM/pkg/proto/friend" + pbGroup "Open_IM/pkg/proto/group" pbUser "Open_IM/pkg/proto/user" "Open_IM/pkg/utils" "context" + "github.com/golang/protobuf/ptypes/wrappers" "net" "strconv" "strings" @@ -59,7 +60,7 @@ func NewUserServer(port int) *userServer { } func (s *userServer) Run() { - log.NewInfo("0", "rpc user start...") + log.NewInfo("", "rpc user start...") listenIP := "" if config.Config.ListenIP == "" { @@ -74,7 +75,7 @@ func (s *userServer) Run() { if err != nil { panic("listening err:" + err.Error() + s.rpcRegisterName) } - log.NewInfo("0", "listen network success, address ", address, listener) + log.NewInfo("", "listen network success, address ", address, listener) defer listener.Close() //grpc server var grpcOpts []grpc.ServerOption @@ -99,327 +100,70 @@ func (s *userServer) Run() { log.Error("", "GetLocalIP failed ", err.Error()) } } - err = getcdv3.RegisterEtcd(s.etcdSchema, strings.Join(s.etcdAddr, ","), rpcRegisterIP, s.rpcPort, s.rpcRegisterName, 10) + err = getcdv3.RegisterEtcd(s.etcdSchema, strings.Join(s.etcdAddr, ","), rpcRegisterIP, s.rpcPort, s.rpcRegisterName, 10, "") if err != nil { - log.NewError("0", "RegisterEtcd failed ", err.Error(), s.etcdSchema, strings.Join(s.etcdAddr, ","), rpcRegisterIP, s.rpcPort, s.rpcRegisterName) + log.NewError("", "RegisterEtcd failed ", err.Error(), s.etcdSchema, strings.Join(s.etcdAddr, ","), rpcRegisterIP, s.rpcPort, s.rpcRegisterName) panic(utils.Wrap(err, "register user module rpc to etcd err")) } err = srv.Serve(listener) if err != nil { - log.NewError("0", "Serve failed ", err.Error()) + log.NewError("", "Serve failed ", err.Error()) return } - log.NewInfo("0", "rpc user success") + log.NewInfo("", "rpc user success") } -func syncPeerUserConversation(conversation *pbConversation.Conversation, operationID string) error { - peerUserConversation := imdb.Conversation{ - OwnerUserID: conversation.UserID, - ConversationID: utils.GetConversationIDBySessionType(conversation.OwnerUserID, constant.SingleChatType), - ConversationType: constant.SingleChatType, - UserID: conversation.OwnerUserID, - GroupID: "", - RecvMsgOpt: 0, - UnreadCount: 0, - DraftTextTime: 0, - IsPinned: false, - IsPrivateChat: conversation.IsPrivateChat, - AttachedInfo: "", - Ex: "", - } - err := imdb.PeerUserSetConversation(peerUserConversation) +func (s *userServer) SyncJoinedGroupMemberFaceURL(ctx context.Context, userID string, faceURL string, operationID string, opUserID string) { + etcdConn, err := getcdv3.GetConn(ctx, config.Config.RpcRegisterName.OpenImFriendName) if err != nil { - log.NewError(operationID, utils.GetSelfFuncName(), "SetConversation error", err.Error()) - return err - } - chat.ConversationSetPrivateNotification(operationID, conversation.OwnerUserID, conversation.UserID, conversation.IsPrivateChat) - return nil -} - -func (s *userServer) BatchSetConversations(ctx context.Context, req *pbUser.BatchSetConversationsReq) (*pbUser.BatchSetConversationsResp, error) { - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req.String()) - if req.NotificationType == 0 { - req.NotificationType = constant.ConversationOptChangeNotification - } - resp := &pbUser.BatchSetConversationsResp{} - for _, v := range req.Conversations { - conversation := imdb.Conversation{} - if err := utils.CopyStructFields(&conversation, v); err != nil { - log.NewDebug(req.OperationID, utils.GetSelfFuncName(), v.String(), "CopyStructFields failed", err.Error()) - } - //redis op - if err := db.DB.SetSingleConversationRecvMsgOpt(req.OwnerUserID, v.ConversationID, v.RecvMsgOpt); err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "cache failed, rpc return", err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - - isUpdate, err := imdb.SetConversation(conversation) - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "SetConversation error", err.Error()) - resp.Failed = append(resp.Failed, v.ConversationID) - continue - } - if isUpdate { - err = rocksCache.DelConversationFromCache(v.OwnerUserID, v.ConversationID) - } else { - err = rocksCache.DelUserConversationIDListFromCache(v.OwnerUserID) - } - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), err.Error(), v.ConversationID, v.OwnerUserID) - } - resp.Success = append(resp.Success, v.ConversationID) - // if is set private msg operation,then peer user need to sync and set tips\ - if v.ConversationType == constant.SingleChatType && req.NotificationType == constant.ConversationPrivateChatNotification { - if err := syncPeerUserConversation(v, req.OperationID); err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "syncPeerUserConversation", err.Error()) - } - } - } - chat.ConversationChangeNotification(req.OperationID, req.OwnerUserID) - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "rpc return", resp.String()) - resp.CommonResp = &pbUser.CommonResp{} - return resp, nil -} - -func (s *userServer) GetAllConversations(ctx context.Context, req *pbUser.GetAllConversationsReq) (*pbUser.GetAllConversationsResp, error) { - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req.String()) - resp := &pbUser.GetAllConversationsResp{Conversations: []*pbConversation.Conversation{}} - conversations, err := rocksCache.GetUserAllConversationList(req.OwnerUserID) - log.NewDebug(req.OperationID, "conversations: ", conversations) - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetConversations error", err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - if err = utils.CopyStructFields(&resp.Conversations, conversations); err != nil { - log.NewDebug(req.OperationID, utils.GetSelfFuncName(), "CopyStructFields error", err.Error()) - } - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "rpc return", resp.String()) - resp.CommonResp = &pbUser.CommonResp{} - return resp, nil -} - -func (s *userServer) GetConversation(ctx context.Context, req *pbUser.GetConversationReq) (*pbUser.GetConversationResp, error) { - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req.String()) - resp := &pbUser.GetConversationResp{Conversation: &pbConversation.Conversation{}} - conversation, err := rocksCache.GetConversationFromCache(req.OwnerUserID, req.ConversationID) - log.NewDebug(req.OperationID, utils.GetSelfFuncName(), "conversation", conversation) - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetConversation error", err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - if err := utils.CopyStructFields(resp.Conversation, &conversation); err != nil { - log.Debug(req.OperationID, utils.GetSelfFuncName(), "CopyStructFields error", conversation, err.Error()) - } - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String()) - resp.CommonResp = &pbUser.CommonResp{} - return resp, nil -} - -func (s *userServer) GetConversations(ctx context.Context, req *pbUser.GetConversationsReq) (*pbUser.GetConversationsResp, error) { - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req.String()) - resp := &pbUser.GetConversationsResp{Conversations: []*pbConversation.Conversation{}} - conversations, err := rocksCache.GetConversationsFromCache(req.OwnerUserID, req.ConversationIDs) - log.NewDebug(req.OperationID, utils.GetSelfFuncName(), "conversations", conversations) - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetConversations error", err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - if err := utils.CopyStructFields(&resp.Conversations, conversations); err != nil { - log.NewDebug(req.OperationID, utils.GetSelfFuncName(), "CopyStructFields failed", conversations, err.Error()) - } - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String()) - resp.CommonResp = &pbUser.CommonResp{} - return resp, nil -} - -func (s *userServer) SetConversation(ctx context.Context, req *pbUser.SetConversationReq) (*pbUser.SetConversationResp, error) { - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req.String()) - resp := &pbUser.SetConversationResp{} - if req.NotificationType == 0 { - req.NotificationType = constant.ConversationOptChangeNotification - } - if req.Conversation.ConversationType == constant.GroupChatType { - groupInfo, err := imdb.GetGroupInfoByGroupID(req.Conversation.GroupID) - if err != nil { - log.NewError(req.OperationID, "GetGroupInfoByGroupID failed ", req.Conversation.GroupID, err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - if groupInfo.Status == constant.GroupStatusDismissed && !req.Conversation.IsNotInGroup { - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "group status is dismissed", groupInfo) - errMsg := "group status is dismissed" - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: errMsg} - return resp, nil - } - } - var conversation imdb.Conversation - if err := utils.CopyStructFields(&conversation, req.Conversation); err != nil { - log.NewDebug(req.OperationID, utils.GetSelfFuncName(), "CopyStructFields failed", *req.Conversation, err.Error()) - } - if err := db.DB.SetSingleConversationRecvMsgOpt(req.Conversation.OwnerUserID, req.Conversation.ConversationID, req.Conversation.RecvMsgOpt); err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "cache failed, rpc return", err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - isUpdate, err := imdb.SetConversation(conversation) - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "SetConversation error", err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - if isUpdate { - err = rocksCache.DelConversationFromCache(req.Conversation.OwnerUserID, req.Conversation.ConversationID) - } else { - err = rocksCache.DelUserConversationIDListFromCache(req.Conversation.OwnerUserID) - } - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), err.Error(), req.Conversation.ConversationID, req.Conversation.OwnerUserID) - } - - // notification - if req.Conversation.ConversationType == constant.SingleChatType && req.NotificationType == constant.ConversationPrivateChatNotification { - //sync peer user conversation if conversation is singleChatType - if err := syncPeerUserConversation(req.Conversation, req.OperationID); err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "syncPeerUserConversation", err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - } else { - chat.ConversationChangeNotification(req.OperationID, req.Conversation.OwnerUserID) - } - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "rpc return", resp.String()) - resp.CommonResp = &pbUser.CommonResp{} - return resp, nil -} - -func (s *userServer) SetRecvMsgOpt(ctx context.Context, req *pbUser.SetRecvMsgOptReq) (*pbUser.SetRecvMsgOptResp, error) { - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req.String()) - resp := &pbUser.SetRecvMsgOptResp{} - var conversation imdb.Conversation - if err := utils.CopyStructFields(&conversation, req); err != nil { - log.NewDebug(req.OperationID, utils.GetSelfFuncName(), "CopyStructFields failed", *req, err.Error()) - } - if err := db.DB.SetSingleConversationRecvMsgOpt(req.OwnerUserID, req.ConversationID, req.RecvMsgOpt); err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "cache failed, rpc return", err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - stringList := strings.Split(req.ConversationID, "_") - if len(stringList) > 1 { - switch stringList[0] { - case "single": - conversation.UserID = stringList[1] - conversation.ConversationType = constant.SingleChatType - case "group": - conversation.GroupID = stringList[1] - conversation.ConversationType = constant.GroupChatType - } - } - isUpdate, err := imdb.SetRecvMsgOpt(conversation) - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "SetConversation error", err.Error()) - resp.CommonResp = &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} - return resp, nil - } - if isUpdate { - err = rocksCache.DelConversationFromCache(conversation.OwnerUserID, conversation.ConversationID) - } else { - err = rocksCache.DelUserConversationIDListFromCache(conversation.OwnerUserID) - } - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), conversation.ConversationID, err.Error()) - } - chat.ConversationChangeNotification(req.OperationID, req.OwnerUserID) - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String()) - resp.CommonResp = &pbUser.CommonResp{} - return resp, nil -} - -func (s *userServer) GetAllUserID(_ context.Context, req *pbUser.GetAllUserIDReq) (*pbUser.GetAllUserIDResp, error) { - log.NewInfo(req.OperationID, "GetAllUserID args ", req.String()) - if !token_verify.IsManagerUserID(req.OpUserID) { - log.NewError(req.OperationID, "IsManagerUserID false ", req.OpUserID) - return &pbUser.GetAllUserIDResp{CommonResp: &pbUser.CommonResp{ErrCode: constant.ErrAccess.ErrCode, ErrMsg: constant.ErrAccess.ErrMsg}}, nil - } - uidList, err := imdb.SelectAllUserID() - if err != nil { - log.NewError(req.OperationID, "SelectAllUserID false ", err.Error()) - return &pbUser.GetAllUserIDResp{CommonResp: &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg}}, nil - } else { - log.NewInfo(req.OperationID, "GetAllUserID rpc return ", pbUser.GetAllUserIDResp{CommonResp: &pbUser.CommonResp{}, UserIDList: uidList}) - return &pbUser.GetAllUserIDResp{CommonResp: &pbUser.CommonResp{}, UserIDList: uidList}, nil - } -} - -func (s *userServer) SyncJoinedGroupMemberFaceURL(userID string, faceURL string, operationID string, opUserID string) { - joinedGroupIDList, err := rocksCache.GetJoinedGroupIDListFromCache(userID) - if err != nil { - log.NewWarn(operationID, "GetJoinedGroupIDListByUserID failed ", userID, err.Error()) return } - for _, groupID := range joinedGroupIDList { - groupMemberInfo := imdb.GroupMember{UserID: userID, GroupID: groupID, FaceURL: faceURL} - if err := imdb.UpdateGroupMemberInfo(groupMemberInfo); err != nil { - log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), groupMemberInfo) - continue - } - //if err := rocksCache.DelAllGroupMembersInfoFromCache(groupID); err != nil { - // log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), groupID) - // continue - //} - if err := rocksCache.DelGroupMemberInfoFromCache(groupID, userID); err != nil { - log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), groupID, userID) - continue - } - chat.GroupMemberInfoSetNotification(operationID, opUserID, groupID, userID) - } -} - -func (s *userServer) SyncJoinedGroupMemberNickname(userID string, newNickname, oldNickname string, operationID string, opUserID string) { - joinedGroupIDList, err := imdb.GetJoinedGroupIDListByUserID(userID) + client := pbGroup.NewGroupClient(etcdConn) + newReq := &pbGroup.GetJoinedGroupListReq{FromUserID: userID} + rpcResp, err := client.GetJoinedGroupList(ctx, newReq) if err != nil { - log.NewWarn(operationID, "GetJoinedGroupIDListByUserID failed ", userID, err.Error()) return } - for _, v := range joinedGroupIDList { - member, err := imdb.GetGroupMemberInfoByGroupIDAndUserID(v, userID) + + for _, group := range rpcResp.Groups { + req := &pbGroup.SetGroupMemberInfoReq{GroupID: group.GroupID, UserID: userID, FaceURL: &wrappers.StringValue{Value: faceURL}} + _, err := client.SetGroupMemberInfo(ctx, req) if err != nil { - log.NewWarn(operationID, "GetGroupMemberInfoByGroupIDAndUserID failed ", err.Error(), v, userID) - continue - } - if member.Nickname == oldNickname { - groupMemberInfo := imdb.GroupMember{UserID: userID, GroupID: v, Nickname: newNickname} - if err := imdb.UpdateGroupMemberInfo(groupMemberInfo); err != nil { - log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), groupMemberInfo) - continue - } - //if err := rocksCache.DelAllGroupMembersInfoFromCache(v); err != nil { - // log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), v) - // continue - //} - if err := rocksCache.DelGroupMemberInfoFromCache(v, userID); err != nil { - log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), v) - } - chat.GroupMemberInfoSetNotification(operationID, opUserID, v, userID) + return } + chat.GroupMemberInfoSetNotification(operationID, opUserID, group.GroupID, userID) } } -func (s *userServer) AddUser(ctx context.Context, req *pbUser.AddUserReq) (*pbUser.AddUserResp, error) { - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req.String()) - resp := &pbUser.AddUserResp{CommonResp: &pbUser.CommonResp{}} - err := imdb.AddUser(req.UserInfo.UserID, req.UserInfo.PhoneNumber, req.UserInfo.Nickname, req.UserInfo.Email, req.UserInfo.Gender, req.UserInfo.FaceURL, req.UserInfo.BirthStr) +func (s *userServer) SyncJoinedGroupMemberNickname(ctx context.Context, userID string, newNickname, oldNickname string, operationID string, opUserID string) { + etcdConn, err := getcdv3.GetConn(ctx, config.Config.RpcRegisterName.OpenImFriendName) if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "AddUser", err.Error(), req.String()) - resp.CommonResp.ErrCode = constant.ErrDB.ErrCode - resp.CommonResp.ErrMsg = err.Error() - return resp, nil + return + } + client := pbGroup.NewGroupClient(etcdConn) + newReq := &pbGroup.GetJoinedGroupListReq{FromUserID: userID} + rpcResp, err := client.GetJoinedGroupList(ctx, newReq) + if err != nil { + return + } + req := pbGroup.GetUserInGroupMembersReq{UserID: userID} + for _, group := range rpcResp.Groups { + req.GroupIDs = append(req.GroupIDs, group.GroupID) + } + resp, err := client.GetUserInGroupMembers(ctx, &req) + if err != nil { + return + } + for _, v := range resp.Members { + if v.Nickname == oldNickname { + req := pbGroup.SetGroupMemberNicknameReq{Nickname: newNickname, GroupID: v.GroupID, UserID: v.UserID} + _, err := client.SetGroupMemberNickname(ctx, &req) + if err != nil { + return + } + chat.GroupMemberInfoSetNotification(operationID, opUserID, v.GroupID, userID) + } } - return resp, nil } func (s *userServer) GetUsersInfo(ctx context.Context, req *pbUser.GetUsersInfoReq) (*pbUser.GetUsersInfoResp, error) { @@ -444,7 +188,6 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbUser.UpdateUserI if err != nil { return nil, err } - oldNickname := "" if req.UserInfo.Nickname != "" { u, err := s.Take(ctx, req.UserInfo.UserID) @@ -453,7 +196,6 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbUser.UpdateUserI } oldNickname = u.Nickname } - user, err := utils2.NewPBUser(req.UserInfo).Convert() if err != nil { return nil, err @@ -466,36 +208,26 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbUser.UpdateUserI if err != nil { return nil, err } - client := pbFriend.NewFriendClient(etcdConn) - newReq := &pbFriend.GetFriendListReq{ - CommID: &pbFriend.CommID{OperationID: req.OperationID, FromUserID: req.UserInfo.UserID, OpUserID: req.OpUserID}, - } - + newReq := &pbFriend.GetFriendListReq{UserID: req.UserInfo.UserID} rpcResp, err := client.GetFriendList(context.Background(), newReq) if err != nil { - log.NewError(req.OperationID, "GetFriendList failed ", err.Error(), newReq) - return &pbUser.UpdateUserInfoResp{CommonResp: &pbUser.CommonResp{ErrCode: 500, ErrMsg: err.Error()}}, nil + return nil, err } - for _, v := range rpcResp.FriendInfoList { - log.Info(req.OperationID, "UserInfoUpdatedNotification ", req.UserInfo.UserID, v.FriendUser.UserID) - // chat.UserInfoUpdatedNotification(req.OperationID, req.UserInfo.UserID, v.FriendUser.UserID) - chat.FriendInfoUpdatedNotification(req.OperationID, req.UserInfo.UserID, v.FriendUser.UserID, req.OpUserID) - } - if err := rocksCache.DelUserInfoFromCache(user.UserID); err != nil { - log.NewError(req.OperationID, "GetFriendList failed ", err.Error(), newReq) - return &pbUser.UpdateUserInfoResp{CommonResp: &pbUser.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: err.Error()}}, nil - } - //chat.UserInfoUpdatedNotification(req.OperationID, req.OpUserID, req.UserInfo.UserID) - chat.UserInfoUpdatedNotification(req.OperationID, req.OpUserID, req.UserInfo.UserID) - log.Info(req.OperationID, "UserInfoUpdatedNotification ", req.UserInfo.UserID, req.OpUserID) + go func() { + for _, v := range rpcResp.FriendInfoList { + chat.FriendInfoUpdatedNotification(tools.OperationID(ctx), req.UserInfo.UserID, v.FriendUser.UserID, tools.OpUserID(ctx)) + } + }() + + chat.UserInfoUpdatedNotification(tools.OperationID(ctx), tools.OpUserID(ctx), req.UserInfo.UserID) if req.UserInfo.FaceURL != "" { - s.SyncJoinedGroupMemberFaceURL(req.UserInfo.UserID, req.UserInfo.FaceURL, req.OperationID, req.OpUserID) + s.SyncJoinedGroupMemberFaceURL(ctx, req.UserInfo.UserID, req.UserInfo.FaceURL, tools.OperationID(ctx), tools.OpUserID(ctx)) } if req.UserInfo.Nickname != "" { - s.SyncJoinedGroupMemberNickname(req.UserInfo.UserID, req.UserInfo.Nickname, oldNickname, req.OperationID, req.OpUserID) + s.SyncJoinedGroupMemberNickname(ctx, req.UserInfo.UserID, req.UserInfo.Nickname, oldNickname, tools.OperationID(ctx), tools.OpUserID(ctx)) } - return &pbUser.UpdateUserInfoResp{CommonResp: &pbUser.CommonResp{}}, nil + return &resp, nil } func (s *userServer) SetGlobalRecvMessageOpt(ctx context.Context, req *pbUser.SetGlobalRecvMessageOptReq) (*pbUser.SetGlobalRecvMessageOptResp, error) { diff --git a/pkg/proto/group/group.pb.go b/pkg/proto/group/group.pb.go index 4778ac346..129256e07 100644 --- a/pkg/proto/group/group.pb.go +++ b/pkg/proto/group/group.pb.go @@ -39,7 +39,7 @@ func (m *CreateGroupReq) Reset() { *m = CreateGroupReq{} } func (m *CreateGroupReq) String() string { return proto.CompactTextString(m) } func (*CreateGroupReq) ProtoMessage() {} func (*CreateGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{0} + return fileDescriptor_group_19947c3109871c24, []int{0} } func (m *CreateGroupReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateGroupReq.Unmarshal(m, b) @@ -98,7 +98,7 @@ func (m *CreateGroupResp) Reset() { *m = CreateGroupResp{} } func (m *CreateGroupResp) String() string { return proto.CompactTextString(m) } func (*CreateGroupResp) ProtoMessage() {} func (*CreateGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{1} + return fileDescriptor_group_19947c3109871c24, []int{1} } func (m *CreateGroupResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateGroupResp.Unmarshal(m, b) @@ -126,7 +126,7 @@ func (m *CreateGroupResp) GetGroupInfo() *sdk_ws.GroupInfo { } type GetGroupsInfoReq struct { - GroupIDList []string `protobuf:"bytes,1,rep,name=groupIDList" json:"groupIDList,omitempty"` + GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs" json:"groupIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -136,7 +136,7 @@ func (m *GetGroupsInfoReq) Reset() { *m = GetGroupsInfoReq{} } func (m *GetGroupsInfoReq) String() string { return proto.CompactTextString(m) } func (*GetGroupsInfoReq) ProtoMessage() {} func (*GetGroupsInfoReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{2} + return fileDescriptor_group_19947c3109871c24, []int{2} } func (m *GetGroupsInfoReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupsInfoReq.Unmarshal(m, b) @@ -156,15 +156,15 @@ func (m *GetGroupsInfoReq) XXX_DiscardUnknown() { var xxx_messageInfo_GetGroupsInfoReq proto.InternalMessageInfo -func (m *GetGroupsInfoReq) GetGroupIDList() []string { +func (m *GetGroupsInfoReq) GetGroupIDs() []string { if m != nil { - return m.GroupIDList + return m.GroupIDs } return nil } type GetGroupsInfoResp struct { - GroupInfoList []*sdk_ws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfoList" json:"groupInfoList,omitempty"` + GroupInfos []*sdk_ws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos" json:"groupInfos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -174,7 +174,7 @@ func (m *GetGroupsInfoResp) Reset() { *m = GetGroupsInfoResp{} } func (m *GetGroupsInfoResp) String() string { return proto.CompactTextString(m) } func (*GetGroupsInfoResp) ProtoMessage() {} func (*GetGroupsInfoResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{3} + return fileDescriptor_group_19947c3109871c24, []int{3} } func (m *GetGroupsInfoResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupsInfoResp.Unmarshal(m, b) @@ -194,9 +194,9 @@ func (m *GetGroupsInfoResp) XXX_DiscardUnknown() { var xxx_messageInfo_GetGroupsInfoResp proto.InternalMessageInfo -func (m *GetGroupsInfoResp) GetGroupInfoList() []*sdk_ws.GroupInfo { +func (m *GetGroupsInfoResp) GetGroupInfos() []*sdk_ws.GroupInfo { if m != nil { - return m.GroupInfoList + return m.GroupInfos } return nil } @@ -212,7 +212,7 @@ func (m *SetGroupInfoReq) Reset() { *m = SetGroupInfoReq{} } func (m *SetGroupInfoReq) String() string { return proto.CompactTextString(m) } func (*SetGroupInfoReq) ProtoMessage() {} func (*SetGroupInfoReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{4} + return fileDescriptor_group_19947c3109871c24, []int{4} } func (m *SetGroupInfoReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetGroupInfoReq.Unmarshal(m, b) @@ -249,7 +249,7 @@ func (m *SetGroupInfoResp) Reset() { *m = SetGroupInfoResp{} } func (m *SetGroupInfoResp) String() string { return proto.CompactTextString(m) } func (*SetGroupInfoResp) ProtoMessage() {} func (*SetGroupInfoResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{5} + return fileDescriptor_group_19947c3109871c24, []int{5} } func (m *SetGroupInfoResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetGroupInfoResp.Unmarshal(m, b) @@ -281,7 +281,7 @@ func (m *GetGroupApplicationListReq) Reset() { *m = GetGroupApplicationL func (m *GetGroupApplicationListReq) String() string { return proto.CompactTextString(m) } func (*GetGroupApplicationListReq) ProtoMessage() {} func (*GetGroupApplicationListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{6} + return fileDescriptor_group_19947c3109871c24, []int{6} } func (m *GetGroupApplicationListReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupApplicationListReq.Unmarshal(m, b) @@ -317,7 +317,7 @@ func (m *GetGroupApplicationListReq) GetFromUserID() string { type GetGroupApplicationListResp struct { Total int32 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"` - GroupRequestList []*sdk_ws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequestList" json:"groupRequestList,omitempty"` + GroupRequests []*sdk_ws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests" json:"groupRequests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -327,7 +327,7 @@ func (m *GetGroupApplicationListResp) Reset() { *m = GetGroupApplication func (m *GetGroupApplicationListResp) String() string { return proto.CompactTextString(m) } func (*GetGroupApplicationListResp) ProtoMessage() {} func (*GetGroupApplicationListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{7} + return fileDescriptor_group_19947c3109871c24, []int{7} } func (m *GetGroupApplicationListResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupApplicationListResp.Unmarshal(m, b) @@ -354,9 +354,9 @@ func (m *GetGroupApplicationListResp) GetTotal() int32 { return 0 } -func (m *GetGroupApplicationListResp) GetGroupRequestList() []*sdk_ws.GroupRequest { +func (m *GetGroupApplicationListResp) GetGroupRequests() []*sdk_ws.GroupRequest { if m != nil { - return m.GroupRequestList + return m.GroupRequests } return nil } @@ -373,7 +373,7 @@ func (m *GetUserReqApplicationListReq) Reset() { *m = GetUserReqApplicat func (m *GetUserReqApplicationListReq) String() string { return proto.CompactTextString(m) } func (*GetUserReqApplicationListReq) ProtoMessage() {} func (*GetUserReqApplicationListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{8} + return fileDescriptor_group_19947c3109871c24, []int{8} } func (m *GetUserReqApplicationListReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserReqApplicationListReq.Unmarshal(m, b) @@ -409,7 +409,7 @@ func (m *GetUserReqApplicationListReq) GetPagination() *sdk_ws.RequestPagination type GetUserReqApplicationListResp struct { Total int32 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"` - GroupRequestList []*sdk_ws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequestList" json:"groupRequestList,omitempty"` + GroupRequests []*sdk_ws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests" json:"groupRequests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -419,7 +419,7 @@ func (m *GetUserReqApplicationListResp) Reset() { *m = GetUserReqApplica func (m *GetUserReqApplicationListResp) String() string { return proto.CompactTextString(m) } func (*GetUserReqApplicationListResp) ProtoMessage() {} func (*GetUserReqApplicationListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{9} + return fileDescriptor_group_19947c3109871c24, []int{9} } func (m *GetUserReqApplicationListResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserReqApplicationListResp.Unmarshal(m, b) @@ -446,9 +446,9 @@ func (m *GetUserReqApplicationListResp) GetTotal() int32 { return 0 } -func (m *GetUserReqApplicationListResp) GetGroupRequestList() []*sdk_ws.GroupRequest { +func (m *GetUserReqApplicationListResp) GetGroupRequests() []*sdk_ws.GroupRequest { if m != nil { - return m.GroupRequestList + return m.GroupRequests } return nil } @@ -466,7 +466,7 @@ func (m *TransferGroupOwnerReq) Reset() { *m = TransferGroupOwnerReq{} } func (m *TransferGroupOwnerReq) String() string { return proto.CompactTextString(m) } func (*TransferGroupOwnerReq) ProtoMessage() {} func (*TransferGroupOwnerReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{10} + return fileDescriptor_group_19947c3109871c24, []int{10} } func (m *TransferGroupOwnerReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferGroupOwnerReq.Unmarshal(m, b) @@ -517,7 +517,7 @@ func (m *TransferGroupOwnerResp) Reset() { *m = TransferGroupOwnerResp{} func (m *TransferGroupOwnerResp) String() string { return proto.CompactTextString(m) } func (*TransferGroupOwnerResp) ProtoMessage() {} func (*TransferGroupOwnerResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{11} + return fileDescriptor_group_19947c3109871c24, []int{11} } func (m *TransferGroupOwnerResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TransferGroupOwnerResp.Unmarshal(m, b) @@ -551,7 +551,7 @@ func (m *JoinGroupReq) Reset() { *m = JoinGroupReq{} } func (m *JoinGroupReq) String() string { return proto.CompactTextString(m) } func (*JoinGroupReq) ProtoMessage() {} func (*JoinGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{12} + return fileDescriptor_group_19947c3109871c24, []int{12} } func (m *JoinGroupReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JoinGroupReq.Unmarshal(m, b) @@ -609,7 +609,7 @@ func (m *JoinGroupResp) Reset() { *m = JoinGroupResp{} } func (m *JoinGroupResp) String() string { return proto.CompactTextString(m) } func (*JoinGroupResp) ProtoMessage() {} func (*JoinGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{13} + return fileDescriptor_group_19947c3109871c24, []int{13} } func (m *JoinGroupResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_JoinGroupResp.Unmarshal(m, b) @@ -643,7 +643,7 @@ func (m *GroupApplicationResponseReq) Reset() { *m = GroupApplicationRes func (m *GroupApplicationResponseReq) String() string { return proto.CompactTextString(m) } func (*GroupApplicationResponseReq) ProtoMessage() {} func (*GroupApplicationResponseReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{14} + return fileDescriptor_group_19947c3109871c24, []int{14} } func (m *GroupApplicationResponseReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GroupApplicationResponseReq.Unmarshal(m, b) @@ -701,7 +701,7 @@ func (m *GroupApplicationResponseResp) Reset() { *m = GroupApplicationRe func (m *GroupApplicationResponseResp) String() string { return proto.CompactTextString(m) } func (*GroupApplicationResponseResp) ProtoMessage() {} func (*GroupApplicationResponseResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{15} + return fileDescriptor_group_19947c3109871c24, []int{15} } func (m *GroupApplicationResponseResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GroupApplicationResponseResp.Unmarshal(m, b) @@ -732,7 +732,7 @@ func (m *QuitGroupReq) Reset() { *m = QuitGroupReq{} } func (m *QuitGroupReq) String() string { return proto.CompactTextString(m) } func (*QuitGroupReq) ProtoMessage() {} func (*QuitGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{16} + return fileDescriptor_group_19947c3109871c24, []int{16} } func (m *QuitGroupReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuitGroupReq.Unmarshal(m, b) @@ -769,7 +769,7 @@ func (m *QuitGroupResp) Reset() { *m = QuitGroupResp{} } func (m *QuitGroupResp) String() string { return proto.CompactTextString(m) } func (*QuitGroupResp) ProtoMessage() {} func (*QuitGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{17} + return fileDescriptor_group_19947c3109871c24, []int{17} } func (m *QuitGroupResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuitGroupResp.Unmarshal(m, b) @@ -792,7 +792,6 @@ var xxx_messageInfo_QuitGroupResp proto.InternalMessageInfo type GetGroupMemberListReq struct { GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` Filter int32 `protobuf:"varint,2,opt,name=filter" json:"filter,omitempty"` - NextSeq int32 `protobuf:"varint,3,opt,name=nextSeq" json:"nextSeq,omitempty"` Pagination *sdk_ws.RequestPagination `protobuf:"bytes,4,opt,name=pagination" json:"pagination,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -803,7 +802,7 @@ func (m *GetGroupMemberListReq) Reset() { *m = GetGroupMemberListReq{} } func (m *GetGroupMemberListReq) String() string { return proto.CompactTextString(m) } func (*GetGroupMemberListReq) ProtoMessage() {} func (*GetGroupMemberListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{18} + return fileDescriptor_group_19947c3109871c24, []int{18} } func (m *GetGroupMemberListReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupMemberListReq.Unmarshal(m, b) @@ -837,13 +836,6 @@ func (m *GetGroupMemberListReq) GetFilter() int32 { return 0 } -func (m *GetGroupMemberListReq) GetNextSeq() int32 { - if m != nil { - return m.NextSeq - } - return 0 -} - func (m *GetGroupMemberListReq) GetPagination() *sdk_ws.RequestPagination { if m != nil { return m.Pagination @@ -853,8 +845,7 @@ func (m *GetGroupMemberListReq) GetPagination() *sdk_ws.RequestPagination { type GetGroupMemberListResp struct { Total int32 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"` - MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=memberList" json:"memberList,omitempty"` - NextSeq int32 `protobuf:"varint,3,opt,name=nextSeq" json:"nextSeq,omitempty"` + Members []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members" json:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -864,7 +855,7 @@ func (m *GetGroupMemberListResp) Reset() { *m = GetGroupMemberListResp{} func (m *GetGroupMemberListResp) String() string { return proto.CompactTextString(m) } func (*GetGroupMemberListResp) ProtoMessage() {} func (*GetGroupMemberListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{19} + return fileDescriptor_group_19947c3109871c24, []int{19} } func (m *GetGroupMemberListResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupMemberListResp.Unmarshal(m, b) @@ -891,20 +882,13 @@ func (m *GetGroupMemberListResp) GetTotal() int32 { return 0 } -func (m *GetGroupMemberListResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo { +func (m *GetGroupMemberListResp) GetMembers() []*sdk_ws.GroupMemberFullInfo { if m != nil { - return m.MemberList + return m.Members } return nil } -func (m *GetGroupMemberListResp) GetNextSeq() int32 { - if m != nil { - return m.NextSeq - } - return 0 -} - type GetGroupMembersInfoReq struct { GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` MemberList []string `protobuf:"bytes,2,rep,name=memberList" json:"memberList,omitempty"` @@ -917,7 +901,7 @@ func (m *GetGroupMembersInfoReq) Reset() { *m = GetGroupMembersInfoReq{} func (m *GetGroupMembersInfoReq) String() string { return proto.CompactTextString(m) } func (*GetGroupMembersInfoReq) ProtoMessage() {} func (*GetGroupMembersInfoReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{20} + return fileDescriptor_group_19947c3109871c24, []int{20} } func (m *GetGroupMembersInfoReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupMembersInfoReq.Unmarshal(m, b) @@ -952,7 +936,7 @@ func (m *GetGroupMembersInfoReq) GetMemberList() []string { } type GetGroupMembersInfoResp struct { - MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=memberList" json:"memberList,omitempty"` + Members []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members" json:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -962,7 +946,7 @@ func (m *GetGroupMembersInfoResp) Reset() { *m = GetGroupMembersInfoResp func (m *GetGroupMembersInfoResp) String() string { return proto.CompactTextString(m) } func (*GetGroupMembersInfoResp) ProtoMessage() {} func (*GetGroupMembersInfoResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{21} + return fileDescriptor_group_19947c3109871c24, []int{21} } func (m *GetGroupMembersInfoResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupMembersInfoResp.Unmarshal(m, b) @@ -982,9 +966,9 @@ func (m *GetGroupMembersInfoResp) XXX_DiscardUnknown() { var xxx_messageInfo_GetGroupMembersInfoResp proto.InternalMessageInfo -func (m *GetGroupMembersInfoResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo { +func (m *GetGroupMembersInfoResp) GetMembers() []*sdk_ws.GroupMemberFullInfo { if m != nil { - return m.MemberList + return m.Members } return nil } @@ -1002,7 +986,7 @@ func (m *KickGroupMemberReq) Reset() { *m = KickGroupMemberReq{} } func (m *KickGroupMemberReq) String() string { return proto.CompactTextString(m) } func (*KickGroupMemberReq) ProtoMessage() {} func (*KickGroupMemberReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{22} + return fileDescriptor_group_19947c3109871c24, []int{22} } func (m *KickGroupMemberReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KickGroupMemberReq.Unmarshal(m, b) @@ -1053,7 +1037,7 @@ func (m *KickGroupMemberResp) Reset() { *m = KickGroupMemberResp{} } func (m *KickGroupMemberResp) String() string { return proto.CompactTextString(m) } func (*KickGroupMemberResp) ProtoMessage() {} func (*KickGroupMemberResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{23} + return fileDescriptor_group_19947c3109871c24, []int{23} } func (m *KickGroupMemberResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KickGroupMemberResp.Unmarshal(m, b) @@ -1085,7 +1069,7 @@ func (m *GetJoinedGroupListReq) Reset() { *m = GetJoinedGroupListReq{} } func (m *GetJoinedGroupListReq) String() string { return proto.CompactTextString(m) } func (*GetJoinedGroupListReq) ProtoMessage() {} func (*GetJoinedGroupListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{24} + return fileDescriptor_group_19947c3109871c24, []int{24} } func (m *GetJoinedGroupListReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetJoinedGroupListReq.Unmarshal(m, b) @@ -1121,7 +1105,7 @@ func (m *GetJoinedGroupListReq) GetPagination() *sdk_ws.RequestPagination { type GetJoinedGroupListResp struct { Total int32 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"` - GroupList []*sdk_ws.GroupInfo `protobuf:"bytes,2,rep,name=groupList" json:"groupList,omitempty"` + Groups []*sdk_ws.GroupInfo `protobuf:"bytes,2,rep,name=groups" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1131,7 +1115,7 @@ func (m *GetJoinedGroupListResp) Reset() { *m = GetJoinedGroupListResp{} func (m *GetJoinedGroupListResp) String() string { return proto.CompactTextString(m) } func (*GetJoinedGroupListResp) ProtoMessage() {} func (*GetJoinedGroupListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{25} + return fileDescriptor_group_19947c3109871c24, []int{25} } func (m *GetJoinedGroupListResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetJoinedGroupListResp.Unmarshal(m, b) @@ -1158,9 +1142,9 @@ func (m *GetJoinedGroupListResp) GetTotal() int32 { return 0 } -func (m *GetJoinedGroupListResp) GetGroupList() []*sdk_ws.GroupInfo { +func (m *GetJoinedGroupListResp) GetGroups() []*sdk_ws.GroupInfo { if m != nil { - return m.GroupList + return m.Groups } return nil } @@ -1168,7 +1152,7 @@ func (m *GetJoinedGroupListResp) GetGroupList() []*sdk_ws.GroupInfo { type InviteUserToGroupReq struct { GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"` - InvitedUserIDList []string `protobuf:"bytes,3,rep,name=invitedUserIDList" json:"invitedUserIDList,omitempty"` + InvitedUserIDs []string `protobuf:"bytes,3,rep,name=invitedUserIDs" json:"invitedUserIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1178,7 +1162,7 @@ func (m *InviteUserToGroupReq) Reset() { *m = InviteUserToGroupReq{} } func (m *InviteUserToGroupReq) String() string { return proto.CompactTextString(m) } func (*InviteUserToGroupReq) ProtoMessage() {} func (*InviteUserToGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{26} + return fileDescriptor_group_19947c3109871c24, []int{26} } func (m *InviteUserToGroupReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InviteUserToGroupReq.Unmarshal(m, b) @@ -1212,9 +1196,9 @@ func (m *InviteUserToGroupReq) GetReason() string { return "" } -func (m *InviteUserToGroupReq) GetInvitedUserIDList() []string { +func (m *InviteUserToGroupReq) GetInvitedUserIDs() []string { if m != nil { - return m.InvitedUserIDList + return m.InvitedUserIDs } return nil } @@ -1229,7 +1213,7 @@ func (m *InviteUserToGroupResp) Reset() { *m = InviteUserToGroupResp{} } func (m *InviteUserToGroupResp) String() string { return proto.CompactTextString(m) } func (*InviteUserToGroupResp) ProtoMessage() {} func (*InviteUserToGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{27} + return fileDescriptor_group_19947c3109871c24, []int{27} } func (m *InviteUserToGroupResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InviteUserToGroupResp.Unmarshal(m, b) @@ -1250,19 +1234,18 @@ func (m *InviteUserToGroupResp) XXX_DiscardUnknown() { var xxx_messageInfo_InviteUserToGroupResp proto.InternalMessageInfo type GetGroupAllMemberReq struct { - GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` - Offset int32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` - Count int32 `protobuf:"varint,3,opt,name=count" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` + Pagination *sdk_ws.RequestPagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *GetGroupAllMemberReq) Reset() { *m = GetGroupAllMemberReq{} } func (m *GetGroupAllMemberReq) String() string { return proto.CompactTextString(m) } func (*GetGroupAllMemberReq) ProtoMessage() {} func (*GetGroupAllMemberReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{28} + return fileDescriptor_group_19947c3109871c24, []int{28} } func (m *GetGroupAllMemberReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupAllMemberReq.Unmarshal(m, b) @@ -1289,22 +1272,15 @@ func (m *GetGroupAllMemberReq) GetGroupID() string { return "" } -func (m *GetGroupAllMemberReq) GetOffset() int32 { +func (m *GetGroupAllMemberReq) GetPagination() *sdk_ws.RequestPagination { if m != nil { - return m.Offset + return m.Pagination } - return 0 -} - -func (m *GetGroupAllMemberReq) GetCount() int32 { - if m != nil { - return m.Count - } - return 0 + return nil } type GetGroupAllMemberResp struct { - MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=memberList" json:"memberList,omitempty"` + Members []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members" json:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1314,7 +1290,7 @@ func (m *GetGroupAllMemberResp) Reset() { *m = GetGroupAllMemberResp{} } func (m *GetGroupAllMemberResp) String() string { return proto.CompactTextString(m) } func (*GetGroupAllMemberResp) ProtoMessage() {} func (*GetGroupAllMemberResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{29} + return fileDescriptor_group_19947c3109871c24, []int{29} } func (m *GetGroupAllMemberResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupAllMemberResp.Unmarshal(m, b) @@ -1334,9 +1310,9 @@ func (m *GetGroupAllMemberResp) XXX_DiscardUnknown() { var xxx_messageInfo_GetGroupAllMemberResp proto.InternalMessageInfo -func (m *GetGroupAllMemberResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo { +func (m *GetGroupAllMemberResp) GetMembers() []*sdk_ws.GroupMemberFullInfo { if m != nil { - return m.MemberList + return m.Members } return nil } @@ -1354,7 +1330,7 @@ func (m *CMSGroup) Reset() { *m = CMSGroup{} } func (m *CMSGroup) String() string { return proto.CompactTextString(m) } func (*CMSGroup) ProtoMessage() {} func (*CMSGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{30} + return fileDescriptor_group_19947c3109871c24, []int{30} } func (m *CMSGroup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CMSGroup.Unmarshal(m, b) @@ -1408,7 +1384,7 @@ func (m *GetGroupsReq) Reset() { *m = GetGroupsReq{} } func (m *GetGroupsReq) String() string { return proto.CompactTextString(m) } func (*GetGroupsReq) ProtoMessage() {} func (*GetGroupsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{31} + return fileDescriptor_group_19947c3109871c24, []int{31} } func (m *GetGroupsReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupsReq.Unmarshal(m, b) @@ -1461,7 +1437,7 @@ func (m *GetGroupsResp) Reset() { *m = GetGroupsResp{} } func (m *GetGroupsResp) String() string { return proto.CompactTextString(m) } func (*GetGroupsResp) ProtoMessage() {} func (*GetGroupsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{32} + return fileDescriptor_group_19947c3109871c24, []int{32} } func (m *GetGroupsResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupsResp.Unmarshal(m, b) @@ -1506,7 +1482,7 @@ func (m *GetGroupMemberReq) Reset() { *m = GetGroupMemberReq{} } func (m *GetGroupMemberReq) String() string { return proto.CompactTextString(m) } func (*GetGroupMemberReq) ProtoMessage() {} func (*GetGroupMemberReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{33} + return fileDescriptor_group_19947c3109871c24, []int{33} } func (m *GetGroupMemberReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupMemberReq.Unmarshal(m, b) @@ -1546,7 +1522,7 @@ func (m *GetGroupMembersCMSReq) Reset() { *m = GetGroupMembersCMSReq{} } func (m *GetGroupMembersCMSReq) String() string { return proto.CompactTextString(m) } func (*GetGroupMembersCMSReq) ProtoMessage() {} func (*GetGroupMembersCMSReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{34} + return fileDescriptor_group_19947c3109871c24, []int{34} } func (m *GetGroupMembersCMSReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupMembersCMSReq.Unmarshal(m, b) @@ -1600,7 +1576,7 @@ func (m *GetGroupMembersCMSResp) Reset() { *m = GetGroupMembersCMSResp{} func (m *GetGroupMembersCMSResp) String() string { return proto.CompactTextString(m) } func (*GetGroupMembersCMSResp) ProtoMessage() {} func (*GetGroupMembersCMSResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{35} + return fileDescriptor_group_19947c3109871c24, []int{35} } func (m *GetGroupMembersCMSResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupMembersCMSResp.Unmarshal(m, b) @@ -1652,7 +1628,7 @@ func (m *DismissGroupReq) Reset() { *m = DismissGroupReq{} } func (m *DismissGroupReq) String() string { return proto.CompactTextString(m) } func (*DismissGroupReq) ProtoMessage() {} func (*DismissGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{36} + return fileDescriptor_group_19947c3109871c24, []int{36} } func (m *DismissGroupReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DismissGroupReq.Unmarshal(m, b) @@ -1689,7 +1665,7 @@ func (m *DismissGroupResp) Reset() { *m = DismissGroupResp{} } func (m *DismissGroupResp) String() string { return proto.CompactTextString(m) } func (*DismissGroupResp) ProtoMessage() {} func (*DismissGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{37} + return fileDescriptor_group_19947c3109871c24, []int{37} } func (m *DismissGroupResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DismissGroupResp.Unmarshal(m, b) @@ -1722,7 +1698,7 @@ func (m *MuteGroupMemberReq) Reset() { *m = MuteGroupMemberReq{} } func (m *MuteGroupMemberReq) String() string { return proto.CompactTextString(m) } func (*MuteGroupMemberReq) ProtoMessage() {} func (*MuteGroupMemberReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{38} + return fileDescriptor_group_19947c3109871c24, []int{38} } func (m *MuteGroupMemberReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MuteGroupMemberReq.Unmarshal(m, b) @@ -1773,7 +1749,7 @@ func (m *MuteGroupMemberResp) Reset() { *m = MuteGroupMemberResp{} } func (m *MuteGroupMemberResp) String() string { return proto.CompactTextString(m) } func (*MuteGroupMemberResp) ProtoMessage() {} func (*MuteGroupMemberResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{39} + return fileDescriptor_group_19947c3109871c24, []int{39} } func (m *MuteGroupMemberResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MuteGroupMemberResp.Unmarshal(m, b) @@ -1805,7 +1781,7 @@ func (m *CancelMuteGroupMemberReq) Reset() { *m = CancelMuteGroupMemberR func (m *CancelMuteGroupMemberReq) String() string { return proto.CompactTextString(m) } func (*CancelMuteGroupMemberReq) ProtoMessage() {} func (*CancelMuteGroupMemberReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{40} + return fileDescriptor_group_19947c3109871c24, []int{40} } func (m *CancelMuteGroupMemberReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelMuteGroupMemberReq.Unmarshal(m, b) @@ -1849,7 +1825,7 @@ func (m *CancelMuteGroupMemberResp) Reset() { *m = CancelMuteGroupMember func (m *CancelMuteGroupMemberResp) String() string { return proto.CompactTextString(m) } func (*CancelMuteGroupMemberResp) ProtoMessage() {} func (*CancelMuteGroupMemberResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{41} + return fileDescriptor_group_19947c3109871c24, []int{41} } func (m *CancelMuteGroupMemberResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelMuteGroupMemberResp.Unmarshal(m, b) @@ -1880,7 +1856,7 @@ func (m *MuteGroupReq) Reset() { *m = MuteGroupReq{} } func (m *MuteGroupReq) String() string { return proto.CompactTextString(m) } func (*MuteGroupReq) ProtoMessage() {} func (*MuteGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{42} + return fileDescriptor_group_19947c3109871c24, []int{42} } func (m *MuteGroupReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MuteGroupReq.Unmarshal(m, b) @@ -1917,7 +1893,7 @@ func (m *MuteGroupResp) Reset() { *m = MuteGroupResp{} } func (m *MuteGroupResp) String() string { return proto.CompactTextString(m) } func (*MuteGroupResp) ProtoMessage() {} func (*MuteGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{43} + return fileDescriptor_group_19947c3109871c24, []int{43} } func (m *MuteGroupResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MuteGroupResp.Unmarshal(m, b) @@ -1948,7 +1924,7 @@ func (m *CancelMuteGroupReq) Reset() { *m = CancelMuteGroupReq{} } func (m *CancelMuteGroupReq) String() string { return proto.CompactTextString(m) } func (*CancelMuteGroupReq) ProtoMessage() {} func (*CancelMuteGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{44} + return fileDescriptor_group_19947c3109871c24, []int{44} } func (m *CancelMuteGroupReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelMuteGroupReq.Unmarshal(m, b) @@ -1985,7 +1961,7 @@ func (m *CancelMuteGroupResp) Reset() { *m = CancelMuteGroupResp{} } func (m *CancelMuteGroupResp) String() string { return proto.CompactTextString(m) } func (*CancelMuteGroupResp) ProtoMessage() {} func (*CancelMuteGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{45} + return fileDescriptor_group_19947c3109871c24, []int{45} } func (m *CancelMuteGroupResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelMuteGroupResp.Unmarshal(m, b) @@ -2018,7 +1994,7 @@ func (m *SetGroupMemberNicknameReq) Reset() { *m = SetGroupMemberNicknam func (m *SetGroupMemberNicknameReq) String() string { return proto.CompactTextString(m) } func (*SetGroupMemberNicknameReq) ProtoMessage() {} func (*SetGroupMemberNicknameReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{46} + return fileDescriptor_group_19947c3109871c24, []int{46} } func (m *SetGroupMemberNicknameReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetGroupMemberNicknameReq.Unmarshal(m, b) @@ -2069,7 +2045,7 @@ func (m *SetGroupMemberNicknameResp) Reset() { *m = SetGroupMemberNickna func (m *SetGroupMemberNicknameResp) String() string { return proto.CompactTextString(m) } func (*SetGroupMemberNicknameResp) ProtoMessage() {} func (*SetGroupMemberNicknameResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{47} + return fileDescriptor_group_19947c3109871c24, []int{47} } func (m *SetGroupMemberNicknameResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetGroupMemberNicknameResp.Unmarshal(m, b) @@ -2101,7 +2077,7 @@ func (m *GetJoinedSuperGroupListReq) Reset() { *m = GetJoinedSuperGroupL func (m *GetJoinedSuperGroupListReq) String() string { return proto.CompactTextString(m) } func (*GetJoinedSuperGroupListReq) ProtoMessage() {} func (*GetJoinedSuperGroupListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{48} + return fileDescriptor_group_19947c3109871c24, []int{48} } func (m *GetJoinedSuperGroupListReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetJoinedSuperGroupListReq.Unmarshal(m, b) @@ -2137,7 +2113,7 @@ func (m *GetJoinedSuperGroupListReq) GetUserID() string { type GetJoinedSuperGroupListResp struct { Total int32 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"` - GroupList []*sdk_ws.GroupInfo `protobuf:"bytes,2,rep,name=groupList" json:"groupList,omitempty"` + Groups []*sdk_ws.GroupInfo `protobuf:"bytes,2,rep,name=groups" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2147,7 +2123,7 @@ func (m *GetJoinedSuperGroupListResp) Reset() { *m = GetJoinedSuperGroup func (m *GetJoinedSuperGroupListResp) String() string { return proto.CompactTextString(m) } func (*GetJoinedSuperGroupListResp) ProtoMessage() {} func (*GetJoinedSuperGroupListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{49} + return fileDescriptor_group_19947c3109871c24, []int{49} } func (m *GetJoinedSuperGroupListResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetJoinedSuperGroupListResp.Unmarshal(m, b) @@ -2174,15 +2150,15 @@ func (m *GetJoinedSuperGroupListResp) GetTotal() int32 { return 0 } -func (m *GetJoinedSuperGroupListResp) GetGroupList() []*sdk_ws.GroupInfo { +func (m *GetJoinedSuperGroupListResp) GetGroups() []*sdk_ws.GroupInfo { if m != nil { - return m.GroupList + return m.Groups } return nil } type GetSuperGroupsInfoReq struct { - GroupIDList []string `protobuf:"bytes,1,rep,name=groupIDList" json:"groupIDList,omitempty"` + GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs" json:"groupIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2192,7 +2168,7 @@ func (m *GetSuperGroupsInfoReq) Reset() { *m = GetSuperGroupsInfoReq{} } func (m *GetSuperGroupsInfoReq) String() string { return proto.CompactTextString(m) } func (*GetSuperGroupsInfoReq) ProtoMessage() {} func (*GetSuperGroupsInfoReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{50} + return fileDescriptor_group_19947c3109871c24, []int{50} } func (m *GetSuperGroupsInfoReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSuperGroupsInfoReq.Unmarshal(m, b) @@ -2212,15 +2188,15 @@ func (m *GetSuperGroupsInfoReq) XXX_DiscardUnknown() { var xxx_messageInfo_GetSuperGroupsInfoReq proto.InternalMessageInfo -func (m *GetSuperGroupsInfoReq) GetGroupIDList() []string { +func (m *GetSuperGroupsInfoReq) GetGroupIDs() []string { if m != nil { - return m.GroupIDList + return m.GroupIDs } return nil } type GetSuperGroupsInfoResp struct { - GroupInfoList []*sdk_ws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfoList" json:"groupInfoList,omitempty"` + GroupInfos []*sdk_ws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos" json:"groupInfos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2230,7 +2206,7 @@ func (m *GetSuperGroupsInfoResp) Reset() { *m = GetSuperGroupsInfoResp{} func (m *GetSuperGroupsInfoResp) String() string { return proto.CompactTextString(m) } func (*GetSuperGroupsInfoResp) ProtoMessage() {} func (*GetSuperGroupsInfoResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{51} + return fileDescriptor_group_19947c3109871c24, []int{51} } func (m *GetSuperGroupsInfoResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSuperGroupsInfoResp.Unmarshal(m, b) @@ -2250,9 +2226,9 @@ func (m *GetSuperGroupsInfoResp) XXX_DiscardUnknown() { var xxx_messageInfo_GetSuperGroupsInfoResp proto.InternalMessageInfo -func (m *GetSuperGroupsInfoResp) GetGroupInfoList() []*sdk_ws.GroupInfo { +func (m *GetSuperGroupsInfoResp) GetGroupInfos() []*sdk_ws.GroupInfo { if m != nil { - return m.GroupInfoList + return m.GroupInfos } return nil } @@ -2273,7 +2249,7 @@ func (m *SetGroupMemberInfoReq) Reset() { *m = SetGroupMemberInfoReq{} } func (m *SetGroupMemberInfoReq) String() string { return proto.CompactTextString(m) } func (*SetGroupMemberInfoReq) ProtoMessage() {} func (*SetGroupMemberInfoReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{52} + return fileDescriptor_group_19947c3109871c24, []int{52} } func (m *SetGroupMemberInfoReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetGroupMemberInfoReq.Unmarshal(m, b) @@ -2345,7 +2321,7 @@ func (m *SetGroupMemberInfoResp) Reset() { *m = SetGroupMemberInfoResp{} func (m *SetGroupMemberInfoResp) String() string { return proto.CompactTextString(m) } func (*SetGroupMemberInfoResp) ProtoMessage() {} func (*SetGroupMemberInfoResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{53} + return fileDescriptor_group_19947c3109871c24, []int{53} } func (m *SetGroupMemberInfoResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetGroupMemberInfoResp.Unmarshal(m, b) @@ -2376,7 +2352,7 @@ func (m *GetGroupAbstractInfoReq) Reset() { *m = GetGroupAbstractInfoReq func (m *GetGroupAbstractInfoReq) String() string { return proto.CompactTextString(m) } func (*GetGroupAbstractInfoReq) ProtoMessage() {} func (*GetGroupAbstractInfoReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{54} + return fileDescriptor_group_19947c3109871c24, []int{54} } func (m *GetGroupAbstractInfoReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupAbstractInfoReq.Unmarshal(m, b) @@ -2416,7 +2392,7 @@ func (m *GroupAbstractInfo) Reset() { *m = GroupAbstractInfo{} } func (m *GroupAbstractInfo) String() string { return proto.CompactTextString(m) } func (*GroupAbstractInfo) ProtoMessage() {} func (*GroupAbstractInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{55} + return fileDescriptor_group_19947c3109871c24, []int{55} } func (m *GroupAbstractInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GroupAbstractInfo.Unmarshal(m, b) @@ -2468,7 +2444,7 @@ func (m *GetGroupAbstractInfoResp) Reset() { *m = GetGroupAbstractInfoRe func (m *GetGroupAbstractInfoResp) String() string { return proto.CompactTextString(m) } func (*GetGroupAbstractInfoResp) ProtoMessage() {} func (*GetGroupAbstractInfoResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_3be6490d3e5fcc92, []int{56} + return fileDescriptor_group_19947c3109871c24, []int{56} } func (m *GetGroupAbstractInfoResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetGroupAbstractInfoResp.Unmarshal(m, b) @@ -2495,6 +2471,90 @@ func (m *GetGroupAbstractInfoResp) GetGroupAbstractInfos() []*GroupAbstractInfo return nil } +type GetUserInGroupMembersReq struct { + UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` + GroupIDs []string `protobuf:"bytes,2,rep,name=groupIDs" json:"groupIDs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetUserInGroupMembersReq) Reset() { *m = GetUserInGroupMembersReq{} } +func (m *GetUserInGroupMembersReq) String() string { return proto.CompactTextString(m) } +func (*GetUserInGroupMembersReq) ProtoMessage() {} +func (*GetUserInGroupMembersReq) Descriptor() ([]byte, []int) { + return fileDescriptor_group_19947c3109871c24, []int{57} +} +func (m *GetUserInGroupMembersReq) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetUserInGroupMembersReq.Unmarshal(m, b) +} +func (m *GetUserInGroupMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetUserInGroupMembersReq.Marshal(b, m, deterministic) +} +func (dst *GetUserInGroupMembersReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserInGroupMembersReq.Merge(dst, src) +} +func (m *GetUserInGroupMembersReq) XXX_Size() int { + return xxx_messageInfo_GetUserInGroupMembersReq.Size(m) +} +func (m *GetUserInGroupMembersReq) XXX_DiscardUnknown() { + xxx_messageInfo_GetUserInGroupMembersReq.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUserInGroupMembersReq proto.InternalMessageInfo + +func (m *GetUserInGroupMembersReq) GetUserID() string { + if m != nil { + return m.UserID + } + return "" +} + +func (m *GetUserInGroupMembersReq) GetGroupIDs() []string { + if m != nil { + return m.GroupIDs + } + return nil +} + +type GetUserInGroupMembersResp struct { + Members []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members" json:"members,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetUserInGroupMembersResp) Reset() { *m = GetUserInGroupMembersResp{} } +func (m *GetUserInGroupMembersResp) String() string { return proto.CompactTextString(m) } +func (*GetUserInGroupMembersResp) ProtoMessage() {} +func (*GetUserInGroupMembersResp) Descriptor() ([]byte, []int) { + return fileDescriptor_group_19947c3109871c24, []int{58} +} +func (m *GetUserInGroupMembersResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetUserInGroupMembersResp.Unmarshal(m, b) +} +func (m *GetUserInGroupMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetUserInGroupMembersResp.Marshal(b, m, deterministic) +} +func (dst *GetUserInGroupMembersResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserInGroupMembersResp.Merge(dst, src) +} +func (m *GetUserInGroupMembersResp) XXX_Size() int { + return xxx_messageInfo_GetUserInGroupMembersResp.Size(m) +} +func (m *GetUserInGroupMembersResp) XXX_DiscardUnknown() { + xxx_messageInfo_GetUserInGroupMembersResp.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUserInGroupMembersResp proto.InternalMessageInfo + +func (m *GetUserInGroupMembersResp) GetMembers() []*sdk_ws.GroupMemberFullInfo { + if m != nil { + return m.Members + } + return nil +} + func init() { proto.RegisterType((*CreateGroupReq)(nil), "group.CreateGroupReq") proto.RegisterType((*CreateGroupResp)(nil), "group.CreateGroupResp") @@ -2553,6 +2613,8 @@ func init() { proto.RegisterType((*GetGroupAbstractInfoReq)(nil), "group.GetGroupAbstractInfoReq") proto.RegisterType((*GroupAbstractInfo)(nil), "group.GroupAbstractInfo") proto.RegisterType((*GetGroupAbstractInfoResp)(nil), "group.GetGroupAbstractInfoResp") + proto.RegisterType((*GetUserInGroupMembersReq)(nil), "group.getUserInGroupMembersReq") + proto.RegisterType((*GetUserInGroupMembersResp)(nil), "group.getUserInGroupMembersResp") } // Reference imports to suppress errors if they are not otherwise used. @@ -2616,6 +2678,8 @@ type GroupClient interface { SetGroupMemberInfo(ctx context.Context, in *SetGroupMemberInfoReq, opts ...grpc.CallOption) (*SetGroupMemberInfoResp, error) // 获取群信息hash值 GetGroupAbstractInfo(ctx context.Context, in *GetGroupAbstractInfoReq, opts ...grpc.CallOption) (*GetGroupAbstractInfoResp, error) + // 获取某个用户在指定群中的信息 + GetUserInGroupMembers(ctx context.Context, in *GetUserInGroupMembersReq, opts ...grpc.CallOption) (*GetUserInGroupMembersResp, error) } type groupClient struct { @@ -2754,7 +2818,7 @@ func (c *groupClient) InviteUserToGroup(ctx context.Context, in *InviteUserToGro func (c *groupClient) GetGroups(ctx context.Context, in *GetGroupsReq, opts ...grpc.CallOption) (*GetGroupsResp, error) { out := new(GetGroupsResp) - err := grpc.Invoke(ctx, "/group.group/GetGroups", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/getGroups", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2763,7 +2827,7 @@ func (c *groupClient) GetGroups(ctx context.Context, in *GetGroupsReq, opts ...g func (c *groupClient) GetGroupMembersCMS(ctx context.Context, in *GetGroupMembersCMSReq, opts ...grpc.CallOption) (*GetGroupMembersCMSResp, error) { out := new(GetGroupMembersCMSResp) - err := grpc.Invoke(ctx, "/group.group/GetGroupMembersCMS", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/getGroupMembersCMS", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2772,7 +2836,7 @@ func (c *groupClient) GetGroupMembersCMS(ctx context.Context, in *GetGroupMember func (c *groupClient) DismissGroup(ctx context.Context, in *DismissGroupReq, opts ...grpc.CallOption) (*DismissGroupResp, error) { out := new(DismissGroupResp) - err := grpc.Invoke(ctx, "/group.group/DismissGroup", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/dismissGroup", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2781,7 +2845,7 @@ func (c *groupClient) DismissGroup(ctx context.Context, in *DismissGroupReq, opt func (c *groupClient) MuteGroupMember(ctx context.Context, in *MuteGroupMemberReq, opts ...grpc.CallOption) (*MuteGroupMemberResp, error) { out := new(MuteGroupMemberResp) - err := grpc.Invoke(ctx, "/group.group/MuteGroupMember", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/muteGroupMember", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2790,7 +2854,7 @@ func (c *groupClient) MuteGroupMember(ctx context.Context, in *MuteGroupMemberRe func (c *groupClient) CancelMuteGroupMember(ctx context.Context, in *CancelMuteGroupMemberReq, opts ...grpc.CallOption) (*CancelMuteGroupMemberResp, error) { out := new(CancelMuteGroupMemberResp) - err := grpc.Invoke(ctx, "/group.group/CancelMuteGroupMember", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/cancelMuteGroupMember", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2799,7 +2863,7 @@ func (c *groupClient) CancelMuteGroupMember(ctx context.Context, in *CancelMuteG func (c *groupClient) MuteGroup(ctx context.Context, in *MuteGroupReq, opts ...grpc.CallOption) (*MuteGroupResp, error) { out := new(MuteGroupResp) - err := grpc.Invoke(ctx, "/group.group/MuteGroup", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/muteGroup", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2808,7 +2872,7 @@ func (c *groupClient) MuteGroup(ctx context.Context, in *MuteGroupReq, opts ...g func (c *groupClient) CancelMuteGroup(ctx context.Context, in *CancelMuteGroupReq, opts ...grpc.CallOption) (*CancelMuteGroupResp, error) { out := new(CancelMuteGroupResp) - err := grpc.Invoke(ctx, "/group.group/CancelMuteGroup", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/cancelMuteGroup", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2817,7 +2881,7 @@ func (c *groupClient) CancelMuteGroup(ctx context.Context, in *CancelMuteGroupRe func (c *groupClient) GetJoinedSuperGroupList(ctx context.Context, in *GetJoinedSuperGroupListReq, opts ...grpc.CallOption) (*GetJoinedSuperGroupListResp, error) { out := new(GetJoinedSuperGroupListResp) - err := grpc.Invoke(ctx, "/group.group/GetJoinedSuperGroupList", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/getJoinedSuperGroupList", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2826,7 +2890,7 @@ func (c *groupClient) GetJoinedSuperGroupList(ctx context.Context, in *GetJoined func (c *groupClient) GetSuperGroupsInfo(ctx context.Context, in *GetSuperGroupsInfoReq, opts ...grpc.CallOption) (*GetSuperGroupsInfoResp, error) { out := new(GetSuperGroupsInfoResp) - err := grpc.Invoke(ctx, "/group.group/GetSuperGroupsInfo", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/getSuperGroupsInfo", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2835,7 +2899,7 @@ func (c *groupClient) GetSuperGroupsInfo(ctx context.Context, in *GetSuperGroups func (c *groupClient) SetGroupMemberNickname(ctx context.Context, in *SetGroupMemberNicknameReq, opts ...grpc.CallOption) (*SetGroupMemberNicknameResp, error) { out := new(SetGroupMemberNicknameResp) - err := grpc.Invoke(ctx, "/group.group/SetGroupMemberNickname", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/setGroupMemberNickname", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2844,7 +2908,7 @@ func (c *groupClient) SetGroupMemberNickname(ctx context.Context, in *SetGroupMe func (c *groupClient) SetGroupMemberInfo(ctx context.Context, in *SetGroupMemberInfoReq, opts ...grpc.CallOption) (*SetGroupMemberInfoResp, error) { out := new(SetGroupMemberInfoResp) - err := grpc.Invoke(ctx, "/group.group/SetGroupMemberInfo", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/setGroupMemberInfo", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2853,7 +2917,16 @@ func (c *groupClient) SetGroupMemberInfo(ctx context.Context, in *SetGroupMember func (c *groupClient) GetGroupAbstractInfo(ctx context.Context, in *GetGroupAbstractInfoReq, opts ...grpc.CallOption) (*GetGroupAbstractInfoResp, error) { out := new(GetGroupAbstractInfoResp) - err := grpc.Invoke(ctx, "/group.group/GetGroupAbstractInfo", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/group.group/getGroupAbstractInfo", in, out, c.cc, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *groupClient) GetUserInGroupMembers(ctx context.Context, in *GetUserInGroupMembersReq, opts ...grpc.CallOption) (*GetUserInGroupMembersResp, error) { + out := new(GetUserInGroupMembersResp) + err := grpc.Invoke(ctx, "/group.group/getUserInGroupMembers", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -2913,6 +2986,8 @@ type GroupServer interface { SetGroupMemberInfo(context.Context, *SetGroupMemberInfoReq) (*SetGroupMemberInfoResp, error) // 获取群信息hash值 GetGroupAbstractInfo(context.Context, *GetGroupAbstractInfoReq) (*GetGroupAbstractInfoResp, error) + // 获取某个用户在指定群中的信息 + GetUserInGroupMembers(context.Context, *GetUserInGroupMembersReq) (*GetUserInGroupMembersResp, error) } func RegisterGroupServer(s *grpc.Server, srv GroupServer) { @@ -3387,6 +3462,24 @@ func _Group_GetGroupAbstractInfo_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _Group_GetUserInGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserInGroupMembersReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GroupServer).GetUserInGroupMembers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/group.group/GetUserInGroupMembers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GroupServer).GetUserInGroupMembers(ctx, req.(*GetUserInGroupMembersReq)) + } + return interceptor(ctx, in, info, handler) +} + var _Group_serviceDesc = grpc.ServiceDesc{ ServiceName: "group.group", HandlerType: (*GroupServer)(nil), @@ -3448,177 +3541,180 @@ var _Group_serviceDesc = grpc.ServiceDesc{ Handler: _Group_InviteUserToGroup_Handler, }, { - MethodName: "GetGroups", + MethodName: "getGroups", Handler: _Group_GetGroups_Handler, }, { - MethodName: "GetGroupMembersCMS", + MethodName: "getGroupMembersCMS", Handler: _Group_GetGroupMembersCMS_Handler, }, { - MethodName: "DismissGroup", + MethodName: "dismissGroup", Handler: _Group_DismissGroup_Handler, }, { - MethodName: "MuteGroupMember", + MethodName: "muteGroupMember", Handler: _Group_MuteGroupMember_Handler, }, { - MethodName: "CancelMuteGroupMember", + MethodName: "cancelMuteGroupMember", Handler: _Group_CancelMuteGroupMember_Handler, }, { - MethodName: "MuteGroup", + MethodName: "muteGroup", Handler: _Group_MuteGroup_Handler, }, { - MethodName: "CancelMuteGroup", + MethodName: "cancelMuteGroup", Handler: _Group_CancelMuteGroup_Handler, }, { - MethodName: "GetJoinedSuperGroupList", + MethodName: "getJoinedSuperGroupList", Handler: _Group_GetJoinedSuperGroupList_Handler, }, { - MethodName: "GetSuperGroupsInfo", + MethodName: "getSuperGroupsInfo", Handler: _Group_GetSuperGroupsInfo_Handler, }, { - MethodName: "SetGroupMemberNickname", + MethodName: "setGroupMemberNickname", Handler: _Group_SetGroupMemberNickname_Handler, }, { - MethodName: "SetGroupMemberInfo", + MethodName: "setGroupMemberInfo", Handler: _Group_SetGroupMemberInfo_Handler, }, { - MethodName: "GetGroupAbstractInfo", + MethodName: "getGroupAbstractInfo", Handler: _Group_GetGroupAbstractInfo_Handler, }, + { + MethodName: "getUserInGroupMembers", + Handler: _Group_GetUserInGroupMembers_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "group/group.proto", } -func init() { proto.RegisterFile("group/group.proto", fileDescriptor_group_3be6490d3e5fcc92) } +func init() { proto.RegisterFile("group/group.proto", fileDescriptor_group_19947c3109871c24) } -var fileDescriptor_group_3be6490d3e5fcc92 = []byte{ - // 1859 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x4f, 0x4f, 0x1c, 0xcb, - 0x11, 0xd7, 0x2c, 0x06, 0x43, 0x19, 0x0c, 0x34, 0x2c, 0x2c, 0x03, 0x06, 0xdc, 0x76, 0x1c, 0x94, - 0xd8, 0x4b, 0x64, 0x27, 0x56, 0x9c, 0x44, 0x72, 0x6c,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0x39, 0x9e, 0x81, 0xc8, 0x2a, 0xc7, 0xb3, 0x68, 0x38, 0xbe, 0xb8, 0x0c, 0x6c, 0x54, - 0x17, 0x97, 0x07, 0xa7, 0xea, 0xe2, 0x0a, 0x90, 0x26, 0xfa, 0x00, 0xd5, 0x42, 0x18, 0x8a, 0xd6, - 0x92, 0x9a, 0x5a, 0x02, 0x79, 0xcd, 0xf5, 0xc1, 0x0c, 0xc2, 0xe3, 0x8a, 0xac, 0x3c, 0xae, 0xc3, - 0x52, 0xe5, 0xf1, 0x14, 0xf6, 0x8c, 0xad, 0xcb, 0x7c, 0x54, 0x59, 0x97, 0x87, 0xb6, 0xca, 0xba, - 0x02, 0x14, 0x1b, 0xd7, 0xc2, 0x12, 0x00, 0xa7, 0xd7, 0xc2, 0x12, 0x70, 0xa9, 0xd7, 0xc2, 0x52, - 0x0c, 0x28, 0xa2, 0x23, 0x03, 0xbb, 0xf4, 0xe8, 0xc8, 0x83, 0x39, 0x3d, 0x3a, 0x8a, 0xf0, 0xda, - 0x6f, 0xb3, 0x20, 0x22, 0xc1, 0xc3, 0x68, 0x3d, 0x53, 0xf3, 0x73, 0xc8, 0xdc, 0xbc, 0x3b, 0x84, - 0x43, 0x68, 0x9c, 0xc7, 0x28, 0x4a, 0xe3, 0x42, 0x90, 0xa7, 0x34, 0x2e, 0x06, 0x37, 0xe8, 0xbd, - 0x36, 0xb1, 0xd1, 0x71, 0x4a, 0xb6, 0xfe, 0x64, 0x90, 0x8f, 0xb9, 0x36, 0x70, 0x9f, 0xd1, 0x97, - 0x6b, 0x1f, 0xee, 0x1c, 0x50, 0xe2, 0x1d, 0xed, 0x36, 0xb4, 0xbf, 0x21, 0xb9, 0xcc, 0x4f, 0xf9, - 0xef, 0xf1, 0x18, 0x27, 0x3d, 0xf9, 0x2a, 0x00, 0x00, 0xff, 0xff, 0x94, 0x0b, 0x60, 0xde, 0xf9, - 0x1c, 0x00, 0x00, +var fileDescriptor_group_19947c3109871c24 = []byte{ + // 1848 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x5f, 0x53, 0xdb, 0xc0, + 0x11, 0x1f, 0x99, 0x40, 0xc2, 0x06, 0x02, 0x1c, 0x18, 0x8c, 0x20, 0x40, 0x2e, 0x69, 0xca, 0xb4, + 0x89, 0xe9, 0x24, 0x6d, 0xa6, 0x7f, 0x32, 0x93, 0x26, 0x90, 0x10, 0x5a, 0x0c, 0x8d, 0x4c, 0xd2, + 0x69, 0x3a, 0x19, 0x2a, 0xec, 0x43, 0x51, 0xb0, 0xa5, 0x43, 0x27, 0x43, 0x26, 0x93, 0x3e, 0xb4, + 0xcf, 0xfd, 0xf3, 0xd0, 0xc7, 0xbe, 0x75, 0xfa, 0x29, 0xfa, 0xd6, 0xaf, 0xd2, 0x4f, 0xd2, 0xd1, + 0xe9, 0x74, 0x3e, 0x49, 0x27, 0xd9, 0x25, 0xee, 0x8b, 0x67, 0xb4, 0xb7, 0x7b, 0xb7, 0xb7, 0xff, + 0xee, 0xb7, 0x6b, 0x98, 0x73, 0x02, 0xbf, 0x47, 0xb7, 0xf8, 0x6f, 0x9d, 0x06, 0x7e, 0xe8, 0xa3, + 0x71, 0xfe, 0x61, 0x6e, 0x1e, 0x52, 0xe2, 0x3d, 0xdc, 0x6b, 0x3c, 0x6c, 0x92, 0xe0, 0x82, 0x04, + 0x5b, 0xf4, 0xcc, 0xd9, 0xe2, 0x0c, 0x5b, 0xac, 0x7d, 0x76, 0x7c, 0xc9, 0xb6, 0x2e, 0x59, 0x2c, + 0x60, 0xd6, 0x07, 0x72, 0x06, 0x36, 0xa5, 0x24, 0x10, 0xfc, 0xf8, 0x5f, 0x06, 0xdc, 0xda, 0x0e, + 0x88, 0x1d, 0x92, 0xdd, 0xe8, 0x24, 0x8b, 0x9c, 0xa3, 0xfb, 0x70, 0xcb, 0xf5, 0xdc, 0xb0, 0x41, + 0xba, 0x27, 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x12, 0xef, 0x78, 0xaf, 0xa1, 0xfc, 0x55, + 0xca, 0x85, 0x7e, 0xc6, 0x7f, 0x4f, 0x26, 0x38, 0xe9, 0xf1, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, + 0x5e, 0xb6, 0x4c, 0x79, 0x9d, 0x1d, 0x00, 0x00, } diff --git a/pkg/proto/group/group.proto b/pkg/proto/group/group.proto index 07e134271..194a49842 100644 --- a/pkg/proto/group/group.proto +++ b/pkg/proto/group/group.proto @@ -18,10 +18,10 @@ message CreateGroupResp{ message GetGroupsInfoReq{ - repeated string groupIDList = 1; + repeated string groupIDs = 1; } message GetGroupsInfoResp{ - repeated server_api_params.GroupInfo groupInfoList = 1; + repeated server_api_params.GroupInfo groupInfos = 1; } @@ -38,7 +38,7 @@ message GetGroupApplicationListReq { } message GetGroupApplicationListResp { int32 total = 1; - repeated server_api_params.GroupRequest groupRequestList = 2; + repeated server_api_params.GroupRequest groupRequests = 2; } message GetUserReqApplicationListReq{ @@ -48,7 +48,7 @@ message GetUserReqApplicationListReq{ message GetUserReqApplicationListResp{ int32 total = 1; - repeated server_api_params.GroupRequest groupRequestList = 2; + repeated server_api_params.GroupRequest groupRequests = 2; } @@ -94,14 +94,12 @@ message QuitGroupResp{ message GetGroupMemberListReq { string groupID = 1; int32 filter = 2; - int32 nextSeq = 3; server_api_params.RequestPagination pagination = 4; } message GetGroupMemberListResp { int32 total = 1; - repeated server_api_params.GroupMemberFullInfo memberList = 2; - int32 nextSeq = 3; + repeated server_api_params.GroupMemberFullInfo members = 2; } @@ -111,7 +109,7 @@ message GetGroupMembersInfoReq { } message GetGroupMembersInfoResp { - repeated server_api_params.GroupMemberFullInfo memberList = 1; + repeated server_api_params.GroupMemberFullInfo members = 1; } message KickGroupMemberReq { @@ -131,14 +129,14 @@ message GetJoinedGroupListReq { } message GetJoinedGroupListResp{ int32 total = 1; - repeated server_api_params.GroupInfo groupList = 2; + repeated server_api_params.GroupInfo groups = 2; } message InviteUserToGroupReq { string groupID = 1; string reason = 2; - repeated string invitedUserIDList = 3; + repeated string invitedUserIDs = 3; } message InviteUserToGroupResp { @@ -147,11 +145,10 @@ message InviteUserToGroupResp { message GetGroupAllMemberReq { string groupID = 1; - int32 offset = 2; - int32 count = 3; + server_api_params.RequestPagination pagination = 2; } message GetGroupAllMemberResp { - repeated server_api_params.GroupMemberFullInfo memberList = 1; + repeated server_api_params.GroupMemberFullInfo members = 1; } message CMSGroup { @@ -250,15 +247,15 @@ message GetJoinedSuperGroupListReq { message GetJoinedSuperGroupListResp { int32 total = 1; - repeated server_api_params.GroupInfo groupList = 2; + repeated server_api_params.GroupInfo groups = 2; } message GetSuperGroupsInfoReq { - repeated string groupIDList = 1; + repeated string groupIDs = 1; } message GetSuperGroupsInfoResp { - repeated server_api_params.GroupInfo groupInfoList = 1; + repeated server_api_params.GroupInfo groupInfos = 1; } message SetGroupMemberInfoReq{ @@ -288,6 +285,13 @@ message GetGroupAbstractInfoResp{ repeated GroupAbstractInfo groupAbstractInfos = 1; } +message getUserInGroupMembersReq { + string userID = 1; + repeated string groupIDs = 2; +} +message getUserInGroupMembersResp{ + repeated server_api_params.GroupMemberFullInfo members = 1; +} service group{ //创建群 @@ -319,30 +323,32 @@ service group{ //邀请某些人进群 rpc inviteUserToGroup(InviteUserToGroupReq) returns (InviteUserToGroupResp); - rpc GetGroups(GetGroupsReq) returns(GetGroupsResp); - rpc GetGroupMembersCMS(GetGroupMembersCMSReq) returns(GetGroupMembersCMSResp); + rpc getGroups(GetGroupsReq) returns(GetGroupsResp); + rpc getGroupMembersCMS(GetGroupMembersCMSReq) returns(GetGroupMembersCMSResp); //解散群 - rpc DismissGroup(DismissGroupReq) returns(DismissGroupResp); + rpc dismissGroup(DismissGroupReq) returns(DismissGroupResp); //对某个群成员禁言 - rpc MuteGroupMember(MuteGroupMemberReq) returns(MuteGroupMemberResp); + rpc muteGroupMember(MuteGroupMemberReq) returns(MuteGroupMemberResp); //对某个群成员取消禁言 - rpc CancelMuteGroupMember(CancelMuteGroupMemberReq) returns(CancelMuteGroupMemberResp); + rpc cancelMuteGroupMember(CancelMuteGroupMemberReq) returns(CancelMuteGroupMemberResp); //对某个群禁言 - rpc MuteGroup(MuteGroupReq) returns(MuteGroupResp); + rpc muteGroup(MuteGroupReq) returns(MuteGroupResp); //对某个群取消禁言 - rpc CancelMuteGroup(CancelMuteGroupReq) returns(CancelMuteGroupResp); + rpc cancelMuteGroup(CancelMuteGroupReq) returns(CancelMuteGroupResp); //获取某个用户加入的超级群 - rpc GetJoinedSuperGroupList(GetJoinedSuperGroupListReq) returns (GetJoinedSuperGroupListResp); + rpc getJoinedSuperGroupList(GetJoinedSuperGroupListReq) returns (GetJoinedSuperGroupListResp); //获取指定的超级群信息 - rpc GetSuperGroupsInfo(GetSuperGroupsInfoReq) returns (GetSuperGroupsInfoResp); + rpc getSuperGroupsInfo(GetSuperGroupsInfoReq) returns (GetSuperGroupsInfoResp); //设置群成员昵称 - rpc SetGroupMemberNickname(SetGroupMemberNicknameReq) returns (SetGroupMemberNicknameResp); + rpc setGroupMemberNickname(SetGroupMemberNicknameReq) returns (SetGroupMemberNicknameResp); //设置群成员信息 - rpc SetGroupMemberInfo(SetGroupMemberInfoReq) returns (SetGroupMemberInfoResp); + rpc setGroupMemberInfo(SetGroupMemberInfoReq) returns (SetGroupMemberInfoResp); //获取群信息hash值 - rpc GetGroupAbstractInfo(GetGroupAbstractInfoReq) returns (GetGroupAbstractInfoResp); + rpc getGroupAbstractInfo(GetGroupAbstractInfoReq) returns (GetGroupAbstractInfoResp); + //获取某个用户在指定群中的信息 + rpc getUserInGroupMembers(getUserInGroupMembersReq) returns (getUserInGroupMembersResp); }