diff --git a/internal/rpc/admin_cms/admin_cms.go b/internal/rpc/admin_cms/admin_cms.go index 86816ef16..dc5baf84a 100644 --- a/internal/rpc/admin_cms/admin_cms.go +++ b/internal/rpc/admin_cms/admin_cms.go @@ -3,7 +3,6 @@ package admin_cms import ( "Open_IM/pkg/common/config" "Open_IM/pkg/common/constant" - imdb "Open_IM/pkg/common/db/mysql_model/im_mysql_model" "Open_IM/pkg/common/log" promePkg "Open_IM/pkg/common/prometheus" "Open_IM/pkg/common/token_verify" @@ -300,32 +299,23 @@ func (s *adminCMSServer) GetChatLogs(_ context.Context, req *pbAdminCMS.GetChatL } func (s *adminCMSServer) GetActiveGroup(_ context.Context, req *pbAdminCMS.GetActiveGroupReq) (*pbAdminCMS.GetActiveGroupResp, error) { - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req", req.String()) - resp := &pbAdminCMS.GetActiveGroupResp{CommonResp: &pbAdminCMS.CommonResp{}} + resp := &pbAdminCMS.GetActiveGroupResp{} fromTime, toTime, err := ParseTimeFromTo(req.StatisticsReq.From, req.StatisticsReq.To) if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "ParseTimeFromTo failed", err.Error()) - resp.CommonResp.ErrCode = constant.ErrDB.ErrCode - resp.CommonResp.ErrMsg = err.Error() - return resp, nil + return resp, err } - log.NewDebug(req.OperationID, utils.GetSelfFuncName(), "time: ", fromTime, toTime) activeGroups, err := imdb.GetActiveGroups(fromTime, toTime, 12) if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetActiveGroups failed", err.Error()) - resp.CommonResp.ErrCode = constant.ErrDB.ErrCode - resp.CommonResp.ErrMsg = err.Error() - return resp, nil + return resp, err } for _, activeGroup := range activeGroups { resp.Groups = append(resp.Groups, &pbAdminCMS.GroupResp{ GroupName: activeGroup.Name, - GroupId: activeGroup.Id, + GroupID: activeGroup.Id, MessageNum: int32(activeGroup.MessageNum), }) } - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), resp.String()) return resp, nil } @@ -516,9 +506,9 @@ func (s *adminCMSServer) GetMessageStatistics(_ context.Context, req *pbAdminCMS resp.CommonResp.ErrMsg = err.Error() return resp, nil } - privateMessageNum, err := imdb.GetPrivateMessageNum(fromTime, toTime.Add(time.Hour*24)) + privateMessageNum, err := imdb.GetSingleChatMessageNum(fromTime, toTime.Add(time.Hour*24)) if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetPrivateMessageNum failed", err.Error()) + log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetSingleChatMessageNum failed", err.Error()) resp.CommonResp.ErrCode = constant.ErrDB.ErrCode resp.CommonResp.ErrMsg = err.Error() return resp, nil @@ -542,7 +532,7 @@ func (s *adminCMSServer) GetMessageStatistics(_ context.Context, req *pbAdminCMS go func(wg *sync.WaitGroup, index int, v [2]time.Time) { defer wg.Done() - num, err := imdb.GetPrivateMessageNum(v[0], v[1]) + num, err := imdb.GetSingleChatMessageNum(v[0], v[1]) if err != nil { log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetIncreaseGroupNum", v, err.Error()) } diff --git a/internal/rpc/user/user.go b/internal/rpc/user/user.go index 56522a9a2..804045b27 100644 --- a/internal/rpc/user/user.go +++ b/internal/rpc/user/user.go @@ -13,11 +13,9 @@ import ( "Open_IM/pkg/getcdv3" pbConversation "Open_IM/pkg/proto/conversation" pbFriend "Open_IM/pkg/proto/friend" - sdkws "Open_IM/pkg/proto/sdk_ws" pbUser "Open_IM/pkg/proto/user" "Open_IM/pkg/utils" "context" - "errors" "net" "strconv" "strings" @@ -26,7 +24,6 @@ import ( utils2 "Open_IM/internal/utils" "google.golang.org/grpc" - "gorm.io/gorm" ) type userServer struct { @@ -559,74 +556,48 @@ func (s *userServer) GetUsers(ctx context.Context, req *pbUser.GetUsersReq) (*pb } if req.UserName != "" { - usersDB, err = imdb.GetUserByName(req.UserName, req.Pagination.ShowNumber, req.Pagination.PageNumber) + usersDB, total, err := s.GetByName(ctx, req.UserName, req.Pagination.ShowNumber, req.Pagination.PageNumber) if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), req.UserName, req.Pagination.ShowNumber, req.Pagination.PageNumber, err.Error()) - resp.CommonResp.ErrCode = constant.ErrDB.ErrCode - resp.CommonResp.ErrMsg = constant.ErrDB.ErrMsg - return resp, nil + return nil, err } - resp.TotalNums, err = imdb.GetUsersCount(req.UserName) - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), req.UserName, err.Error()) - resp.CommonResp.ErrCode = constant.ErrDB.ErrCode - resp.CommonResp.ErrMsg = err.Error() - return resp, nil + resp.Total = int32(total) + for _, v := range usersDB { + u1, err := utils2.NewDBUser(v).Convert() + if err != nil { + return nil, err + } + resp.Users = append(resp.Users, u1) } - + return &resp, nil } else if req.Content != "" { - var count int64 - usersDB, count, err = imdb.GetUsersByNameAndID(req.Content, req.Pagination.ShowNumber, req.Pagination.PageNumber) - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetUsers failed", req.Pagination.ShowNumber, req.Pagination.PageNumber, err.Error()) - resp.CommonResp.ErrCode = constant.ErrDB.ErrCode - resp.CommonResp.ErrMsg = err.Error() - return resp, nil - } - resp.TotalNums = int32(count) - } - - else { - usersDB, err = imdb.GetUsers(req.Pagination.ShowNumber, req.Pagination.PageNumber) + usersDB, total, err := s.GetByNameAndID(ctx, req.UserName, req.Pagination.ShowNumber, req.Pagination.PageNumber) if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetUsers failed", req.Pagination.ShowNumber, req.Pagination.PageNumber, err.Error()) - resp.CommonResp.ErrCode = constant.ErrDB.ErrCode - resp.CommonResp.ErrMsg = err.Error() - return resp, nil + return nil, err } - resp.TotalNums, err = imdb.GetTotalUserNum() - if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), err.Error()) - resp.CommonResp.ErrCode = constant.ErrDB.ErrCode - resp.CommonResp.ErrMsg = err.Error() - return resp, nil + resp.Total = int32(total) + for _, v := range usersDB { + u1, err := utils2.NewDBUser(v).Convert() + if err != nil { + return nil, err + } + resp.Users = append(resp.Users, u1) } - } - for _, userDB := range usersDB { - var user sdkws.UserInfo - utils.CopyStructFields(&user, userDB) - user.CreateTime = uint32(userDB.CreateTime.Unix()) - user.BirthStr = utils.TimeToString(userDB.Birth) - resp.UserList = append(resp.UserList, &pbUser.CmsUser{User: &user}) + return &resp, nil } - var userIDList []string - for _, v := range resp.UserList { - userIDList = append(userIDList, v.User.UserID) - } - isBlockUser, err := imdb.UsersIsBlock(userIDList) + usersDB, total, err := s.Get(ctx, req.Pagination.ShowNumber, req.Pagination.PageNumber) if err != nil { - log.NewError(req.OperationID, utils.GetSelfFuncName(), err.Error(), userIDList) - resp.CommonResp.ErrCode = constant.ErrDB.ErrCode - resp.CommonResp.ErrMsg = err.Error() - return resp, nil + return nil, err } - for _, v := range resp.UserList { - if utils.IsContain(v.User.UserID, isBlockUser) { - v.IsBlock = true + resp.Total = int32(total) + + for _, userDB := range usersDB { + u, err := utils2.NewDBUser(userDB).Convert() + if err != nil { + return nil, err } + resp.Users = append(resp.Users, u) } - log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String()) - return resp, nil + return &resp, nil } diff --git a/internal/utils/convert.go b/internal/utils/convert.go index 61dc80586..1660219ae 100644 --- a/internal/utils/convert.go +++ b/internal/utils/convert.go @@ -281,7 +281,7 @@ func (pb *PBUser) Convert() (*relation.User, error) { func (db *DBUser) Convert() (*sdk.UserInfo, error) { dst := &sdk.UserInfo{} utils.CopyStructFields(dst, db) - dst.CreateTime = uint32(db.CreateTime.Unix()) + dst.CreateTime = db.CreateTime.Unix() dst.Birthday = db.Birth.Unix() return dst, nil } diff --git a/pkg/common/db/controller/admin_cms.go b/pkg/common/db/controller/admin_cms.go new file mode 100644 index 000000000..2ce7f8f2c --- /dev/null +++ b/pkg/common/db/controller/admin_cms.go @@ -0,0 +1,142 @@ +package controller + +import ( + "Open_IM/pkg/common/db/relation" + "gorm.io/gorm" + "time" +) + +type AdminCMSInterface interface { + GetActiveUserNum(from, to time.Time) (num int64, err error) + GetIncreaseUserNum(from, to time.Time) (num int64, err error) + GetTotalUserNum() (num int64, err error) + GetTotalUserNumByDate(to time.Time) (num int64, err error) + GetSingleChatMessageNum(from, to time.Time) (num int64, err error) + GetGroupMessageNum(from, to time.Time) (num int64, err error) + GetIncreaseGroupNum(from, to time.Time) (num int64, err error) + GetTotalGroupNum() (num int64, err error) + GetGroupNum(to time.Time) (num int64, err error) + GetActiveGroups(from, to time.Time, limit int) (activeGroups []*relation.ActiveGroup, err error) + GetActiveUsers(from, to time.Time, limit int) (activeUsers []*relation.ActiveUser, err error) +} + +type AdminCMSController struct { + database AdminCMSDatabaseInterface +} + +func NewAdminCMSController(db *gorm.DB) AdminCMSInterface { + adminCMSController := &AdminCMSController{ + database: newAdminCMSDatabase(db), + } + return adminCMSController +} + +func newAdminCMSDatabase(db *gorm.DB) AdminCMSDatabaseInterface { + return &AdminCMSDatabase{Statistics: relation.NewStatistics(db)} +} + +func (admin *AdminCMSController) GetActiveUserNum(from, to time.Time) (num int64, err error) { + return admin.database.GetActiveUserNum(from, to) +} + +func (admin *AdminCMSController) GetIncreaseUserNum(from, to time.Time) (num int64, err error) { + return admin.database.GetIncreaseUserNum(from, to) +} + +func (admin *AdminCMSController) GetTotalUserNum() (num int64, err error) { + return admin.database.GetTotalUserNum() +} + +func (admin *AdminCMSController) GetTotalUserNumByDate(to time.Time) (num int64, err error) { + return admin.database.GetTotalUserNumByDate(to) +} + +func (admin *AdminCMSController) GetSingleChatMessageNum(from, to time.Time) (num int64, err error) { + return admin.GetSingleChatMessageNum(from, to) +} + +func (admin *AdminCMSController) GetGroupMessageNum(from, to time.Time) (num int64, err error) { + return admin.database.GetGroupMessageNum(from, to) +} + +func (admin *AdminCMSController) GetIncreaseGroupNum(from, to time.Time) (num int64, err error) { + return admin.database.GetIncreaseGroupNum(from, to) +} + +func (admin *AdminCMSController) GetTotalGroupNum() (num int64, err error) { + return admin.database.GetTotalGroupNum() +} + +func (admin *AdminCMSController) GetGroupNum(to time.Time) (num int64, err error) { + return admin.database.GetGroupNum(to) +} + +func (admin *AdminCMSController) GetActiveGroups(from, to time.Time, limit int) ([]*relation.ActiveGroup, error) { + return admin.database.GetActiveGroups(from, to, limit) +} + +func (admin *AdminCMSController) GetActiveUsers(from, to time.Time, limit int) (activeUsers []*relation.ActiveUser, err error) { + return admin.database.GetActiveUsers(from, to, limit) +} + +type AdminCMSDatabaseInterface interface { + GetActiveUserNum(from, to time.Time) (num int64, err error) + GetIncreaseUserNum(from, to time.Time) (num int64, err error) + GetTotalUserNum() (num int64, err error) + GetTotalUserNumByDate(to time.Time) (num int64, err error) + GetSingleChatMessageNum(from, to time.Time) (num int64, err error) + GetGroupMessageNum(from, to time.Time) (num int64, err error) + GetIncreaseGroupNum(from, to time.Time) (num int64, err error) + GetTotalGroupNum() (num int64, err error) + GetGroupNum(to time.Time) (num int64, err error) + GetActiveGroups(from, to time.Time, limit int) ([]*relation.ActiveGroup, error) + GetActiveUsers(from, to time.Time, limit int) (activeUsers []*relation.ActiveUser, err error) +} + +type AdminCMSDatabase struct { + Statistics *relation.Statistics +} + +func (admin *AdminCMSDatabase) GetActiveUserNum(from, to time.Time) (num int64, err error) { + return admin.Statistics.GetActiveUserNum(from, to) +} + +func (admin *AdminCMSDatabase) GetIncreaseUserNum(from, to time.Time) (num int64, err error) { + return admin.Statistics.GetIncreaseUserNum(from, to) +} + +func (admin *AdminCMSDatabase) GetTotalUserNum() (num int64, err error) { + return admin.Statistics.GetTotalUserNum() +} + +func (admin *AdminCMSDatabase) GetTotalUserNumByDate(to time.Time) (num int64, err error) { + return admin.Statistics.GetTotalUserNumByDate(to) +} + +func (admin *AdminCMSDatabase) GetSingleChatMessageNum(from, to time.Time) (num int64, err error) { + return admin.Statistics.GetSingleChatMessageNum(from, to) +} + +func (admin *AdminCMSDatabase) GetGroupMessageNum(from, to time.Time) (num int64, err error) { + return admin.Statistics.GetGroupMessageNum(from, to) +} + +func (admin *AdminCMSDatabase) GetIncreaseGroupNum(from, to time.Time) (num int64, err error) { + return admin.Statistics.GetIncreaseGroupNum(from, to) +} + +func (admin *AdminCMSDatabase) GetTotalGroupNum() (num int64, err error) { + return admin.Statistics.GetTotalGroupNum() +} + +func (admin *AdminCMSDatabase) GetGroupNum(to time.Time) (num int64, err error) { + return admin.Statistics.GetGroupNum(to) +} + +func (admin *AdminCMSDatabase) GetActiveGroups(from, to time.Time, limit int) ([]*relation.ActiveGroup, error) { + return admin.Statistics.GetActiveGroups(from, to, limit) +} + +func (admin *AdminCMSDatabase) GetActiveUsers(from, to time.Time, limit int) (activeUsers []*relation.ActiveUser, err error) { + return admin.Statistics.GetActiveUsers(from, to, limit) +} diff --git a/pkg/common/db/controller/group.go b/pkg/common/db/controller/group.go index f87389428..ab40cafde 100644 --- a/pkg/common/db/controller/group.go +++ b/pkg/common/db/controller/group.go @@ -33,7 +33,7 @@ type GroupInterface interface { } type GroupController struct { - database DataBase + database GroupDataBaseInterface } func NewGroupController(db *gorm.DB, rdb redis.UniversalClient, mgoDB *mongo.Client) GroupInterface { @@ -65,16 +65,10 @@ func (g *GroupController) CreateSuperGroup(ctx context.Context, groupID string, return g.database.CreateSuperGroup(ctx, groupID, initMemberIDList) } -func (g *GroupController) GetJoinedGroupList(ctx context.Context, userID string) ([]*relation.Group, error) { - return g.database.GetJoinedGroupList(ctx, userID) -} - -type DataBase interface { +type GroupDataBaseInterface interface { FindGroupsByID(ctx context.Context, groupIDs []string) (groups []*relation.Group, err error) CreateGroup(ctx context.Context, groups []*relation.Group, groupMember []*relation.GroupMember) error DeleteGroupByIDs(ctx context.Context, groupIDs []string) error - GetJoinedGroupList(ctx context.Context, userID string) ([]*relation.Group, error) - TakeGroupByID(ctx context.Context, groupID string) (group *relation.Group, err error) GetSuperGroupByID(ctx context.Context, groupID string) (superGroup *unrelation.SuperGroup, err error) CreateSuperGroup(ctx context.Context, groupID string, initMemberIDList []string) error @@ -90,7 +84,7 @@ type GroupDataBase struct { mongoDB *unrelation.SuperGroupMgoDB } -func newGroupDatabase(db *gorm.DB, rdb redis.UniversalClient, mgoDB *mongo.Client) DataBase { +func newGroupDatabase(db *gorm.DB, rdb redis.UniversalClient, mgoDB *mongo.Client) GroupDataBaseInterface { groupDB := relation.NewGroupDB(db) groupMemberDB := relation.NewGroupMemberDB(db) groupRequestDB := relation.NewGroupRequest(db) diff --git a/pkg/common/db/controller/user.go b/pkg/common/db/controller/user.go index 169c051bf..1fcba9060 100644 --- a/pkg/common/db/controller/user.go +++ b/pkg/common/db/controller/user.go @@ -12,7 +12,9 @@ type UserInterface interface { Take(ctx context.Context, userID string) (user *relation.User, err error) Update(ctx context.Context, users []*relation.User) (err error) UpdateByMap(ctx context.Context, userID string, args map[string]interface{}) (err error) - GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*relation.User, err error) + GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) + GetByNameAndID(ctx context.Context, content string, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) + Get(ctx context.Context, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) } type UserController struct { @@ -34,10 +36,15 @@ func (u *UserController) Update(ctx context.Context, users []*relation.User) (er func (u *UserController) UpdateByMap(ctx context.Context, userID string, args map[string]interface{}) (err error) { return u.database.UpdateByMap(ctx, userID, args) } -func (u *UserController) GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*relation.User, err error) { +func (u *UserController) GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) { return u.database.GetByName(ctx, userName, showNumber, pageNumber) } - +func (u *UserController) GetByNameAndID(ctx context.Context, content string, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) { + return u.database.GetByNameAndID(ctx, content, showNumber, pageNumber) +} +func (u *UserController) Get(ctx context.Context, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) { + return u.database.Get(ctx, showNumber, pageNumber) +} func NewUserController(db *gorm.DB) UserInterface { controller := &UserController{database: newUserDatabase(db)} return controller @@ -49,7 +56,9 @@ type UserDatabaseInterface interface { Take(ctx context.Context, userID string) (user *relation.User, err error) Update(ctx context.Context, users []*relation.User) (err error) UpdateByMap(ctx context.Context, userID string, args map[string]interface{}) (err error) - GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*relation.User, err error) + GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) + GetByNameAndID(ctx context.Context, content string, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) + Get(ctx context.Context, showNumber, pageNumber int32) (users []*User, count int64, err error) } type UserDatabase struct { @@ -80,6 +89,12 @@ func (u *UserDatabase) Update(ctx context.Context, users []*relation.User) (err func (u *UserDatabase) UpdateByMap(ctx context.Context, userID string, args map[string]interface{}) (err error) { return u.sqlDB.UpdateByMap(ctx, userID, args) } -func (u *UserDatabase) GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*relation.User, err error) { +func (u *UserDatabase) GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) { return u.sqlDB.GetByName(ctx, userName, showNumber, pageNumber) } +func (u *UserDatabase) GetByNameAndID(ctx context.Context, content string, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) { + return u.sqlDB.GetByNameAndID(ctx, content, showNumber, pageNumber) +} +func (u *UserDatabase) Get(ctx context.Context, showNumber, pageNumber int32) (users []*relation.User, count int64, err error) { + return u.sqlDB.Get(ctx, showNumber, pageNumber) +} diff --git a/pkg/common/db/relation/statistics_model.go b/pkg/common/db/relation/statistics_model.go index 09c5236ee..162972e19 100644 --- a/pkg/common/db/relation/statistics_model.go +++ b/pkg/common/db/relation/statistics_model.go @@ -46,7 +46,7 @@ func (s *Statistics) GetTotalUserNumByDate(to time.Time) (num int64, err error) return num, err } -func (s *Statistics) GetPrivateMessageNum(from, to time.Time) (num int64, err error) { +func (s *Statistics) GetSingleChatMessageNum(from, to time.Time) (num int64, err error) { err = s.getChatLogModel().Where("send_time >= ? and send_time <= ? and session_type = ?", from, to, constant.SingleChatType).Count(&num).Error return num, err } @@ -71,18 +71,18 @@ func (s *Statistics) GetGroupNum(to time.Time) (num int64, err error) { return num, err } -type activeGroup struct { +type ActiveGroup struct { Name string - Id string `gorm:"column:recv_id"` + ID string `gorm:"column:recv_id"` MessageNum int `gorm:"column:message_num"` } -func (s *Statistics) GetActiveGroups(from, to time.Time, limit int) ([]*activeGroup, error) { - var activeGroups []*activeGroup +func (s *Statistics) GetActiveGroups(from, to time.Time, limit int) ([]*ActiveGroup, error) { + var activeGroups []*ActiveGroup err := s.getChatLogModel().Select("recv_id, count(*) as message_num").Where("send_time >= ? and send_time <= ? and session_type in (?)", from, to, []int{constant.GroupChatType, constant.SuperGroupChatType}).Group("recv_id").Limit(limit).Order("message_num DESC").Find(&activeGroups).Error for _, activeGroup := range activeGroups { group := Group{ - GroupID: activeGroup.Id, + GroupID: activeGroup.ID, } s.getGroupModel().Where("group_id= ? ", group.GroupID).Find(&group) activeGroup.Name = group.GroupName @@ -90,13 +90,13 @@ func (s *Statistics) GetActiveGroups(from, to time.Time, limit int) ([]*activeGr return activeGroups, err } -type activeUser struct { +type ActiveUser struct { Name string ID string `gorm:"column:send_id"` MessageNum int `gorm:"column:message_num"` } -func (s *Statistics) GetActiveUsers(from, to time.Time, limit int) (activeUsers []*activeUser, err error) { +func (s *Statistics) GetActiveUsers(from, to time.Time, limit int) (activeUsers []*ActiveUser, err error) { err = s.getChatLogModel().Select("send_id, count(*) as message_num").Where("send_time >= ? and send_time <= ? and session_type in (?)", from, to, []int{constant.SingleChatType, constant.GroupChatType, constant.SuperGroupChatType}).Group("send_id").Limit(limit).Order("message_num DESC").Find(&activeUsers).Error for _, activeUser := range activeUsers { user := User{ diff --git a/pkg/common/db/relation/user_model_k.go b/pkg/common/db/relation/user_model_k.go index 2d147dc69..837efed9e 100644 --- a/pkg/common/db/relation/user_model_k.go +++ b/pkg/common/db/relation/user_model_k.go @@ -71,10 +71,37 @@ func (u *User) Take(ctx context.Context, userID string) (user *User, err error) return user, err } -func (u *User) GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*User, err error) { +func (u *User) GetByName(ctx context.Context, userName string, showNumber, pageNumber int32) (users []*User, count int64, err error) { defer func() { - trace_log.SetCtxDebug(ctx, utils.GetFuncName(1), err, "userName", userName, "showNumber", showNumber, "pageNumber", pageNumber, "users", users) + trace_log.SetCtxDebug(ctx, utils.GetFuncName(1), err, "userName", userName, "showNumber", showNumber, "pageNumber", pageNumber, "users", users, "count", count) }() - err = u.DB.Where(" name like ?", fmt.Sprintf("%%%s%%", userName)).Limit(int(showNumber)).Offset(int(showNumber * (pageNumber - 1))).Find(&users).Error - return users, utils.Wrap(err, "") + err = u.DB.Where(" name like ?", fmt.Sprintf("%%%s%%", userName)).Limit(int(showNumber)).Offset(int(showNumber * pageNumber)).Find(&users).Error + if err != nil { + return nil, 0, utils.Wrap(err, "") + } + return users, count, utils.Wrap(u.DB.Where(" name like ? ", fmt.Sprintf("%%%s%%", userName)).Count(&count).Error, "") +} + +func (u *User) GetByNameAndID(ctx context.Context, content string, showNumber, pageNumber int32) (users []*User, count int64, err error) { + defer func() { + trace_log.SetCtxDebug(ctx, utils.GetFuncName(1), err, "content", content, "showNumber", showNumber, "pageNumber", pageNumber, "users", users, "count", count) + }() + db := u.DB.Where(" name like ? or user_id = ? ", fmt.Sprintf("%%%s%%", content), content) + if err := db.Count(&count).Error; err != nil { + return nil, 0, utils.Wrap(err, "") + } + err = utils.Wrap(db.Limit(int(showNumber)).Offset(int(showNumber*pageNumber)).Find(&users).Error, "") + return +} + +func (u *User) Get(ctx context.Context, showNumber, pageNumber int32) (users []*User, count int64, err error) { + defer func() { + trace_log.SetCtxDebug(ctx, utils.GetFuncName(1), err, "showNumber", showNumber, "pageNumber", pageNumber, "users", users, "count", count) + }() + err = u.DB.Model(u).Count(&count).Error + if err != nil { + return nil, 0, utils.Wrap(err, "") + } + err = utils.Wrap(u.DB.Limit(int(showNumber)).Offset(int(pageNumber*showNumber)).Find(&users).Error, "") + return } diff --git a/pkg/proto/admin_cms/admin_cms.pb.go b/pkg/proto/admin_cms/admin_cms.pb.go index 970a98788..25cf400f8 100644 --- a/pkg/proto/admin_cms/admin_cms.pb.go +++ b/pkg/proto/admin_cms/admin_cms.pb.go @@ -24,54 +24,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package -type CommonResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommonResp) Reset() { *m = CommonResp{} } -func (m *CommonResp) String() string { return proto.CompactTextString(m) } -func (*CommonResp) ProtoMessage() {} -func (*CommonResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{0} -} -func (m *CommonResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommonResp.Unmarshal(m, b) -} -func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic) -} -func (dst *CommonResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonResp.Merge(dst, src) -} -func (m *CommonResp) XXX_Size() int { - return xxx_messageInfo_CommonResp.Size(m) -} -func (m *CommonResp) XXX_DiscardUnknown() { - xxx_messageInfo_CommonResp.DiscardUnknown(m) -} - -var xxx_messageInfo_CommonResp proto.InternalMessageInfo - -func (m *CommonResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *CommonResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - type AdminLoginReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` AdminID string `protobuf:"bytes,2,opt,name=adminID" json:"adminID,omitempty"` Secret string `protobuf:"bytes,3,opt,name=secret" json:"secret,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -83,7 +36,7 @@ func (m *AdminLoginReq) Reset() { *m = AdminLoginReq{} } func (m *AdminLoginReq) String() string { return proto.CompactTextString(m) } func (*AdminLoginReq) ProtoMessage() {} func (*AdminLoginReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{1} + return fileDescriptor_admin_cms_d71cb129508715a2, []int{0} } func (m *AdminLoginReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AdminLoginReq.Unmarshal(m, b) @@ -103,13 +56,6 @@ func (m *AdminLoginReq) XXX_DiscardUnknown() { var xxx_messageInfo_AdminLoginReq proto.InternalMessageInfo -func (m *AdminLoginReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - func (m *AdminLoginReq) GetAdminID() string { if m != nil { return m.AdminID @@ -125,20 +71,19 @@ func (m *AdminLoginReq) GetSecret() string { } type AdminLoginResp struct { - Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=userName" json:"userName,omitempty"` - FaceURL string `protobuf:"bytes,3,opt,name=faceURL" json:"faceURL,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` + UserName string `protobuf:"bytes,2,opt,name=userName" json:"userName,omitempty"` + FaceURL string `protobuf:"bytes,3,opt,name=faceURL" json:"faceURL,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *AdminLoginResp) Reset() { *m = AdminLoginResp{} } func (m *AdminLoginResp) String() string { return proto.CompactTextString(m) } func (*AdminLoginResp) ProtoMessage() {} func (*AdminLoginResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{2} + return fileDescriptor_admin_cms_d71cb129508715a2, []int{1} } func (m *AdminLoginResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AdminLoginResp.Unmarshal(m, b) @@ -179,2547 +124,984 @@ func (m *AdminLoginResp) GetFaceURL() string { return "" } -func (m *AdminLoginResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetUserTokenReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - PlatformID int32 `protobuf:"varint,3,opt,name=platformID" json:"platformID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetChatLogsReq struct { + Content string `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"` + SendID string `protobuf:"bytes,2,opt,name=sendID" json:"sendID,omitempty"` + RecvID string `protobuf:"bytes,3,opt,name=recvID" json:"recvID,omitempty"` + SendTime string `protobuf:"bytes,4,opt,name=sendTime" json:"sendTime,omitempty"` + SessionType int32 `protobuf:"varint,5,opt,name=sessionType" json:"sessionType,omitempty"` + ContentType int32 `protobuf:"varint,6,opt,name=contentType" json:"contentType,omitempty"` + Pagination *sdk_ws.RequestPagination `protobuf:"bytes,7,opt,name=pagination" json:"pagination,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *GetUserTokenReq) Reset() { *m = GetUserTokenReq{} } -func (m *GetUserTokenReq) String() string { return proto.CompactTextString(m) } -func (*GetUserTokenReq) ProtoMessage() {} -func (*GetUserTokenReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{3} +func (m *GetChatLogsReq) Reset() { *m = GetChatLogsReq{} } +func (m *GetChatLogsReq) String() string { return proto.CompactTextString(m) } +func (*GetChatLogsReq) ProtoMessage() {} +func (*GetChatLogsReq) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{2} } -func (m *GetUserTokenReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserTokenReq.Unmarshal(m, b) +func (m *GetChatLogsReq) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetChatLogsReq.Unmarshal(m, b) } -func (m *GetUserTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserTokenReq.Marshal(b, m, deterministic) +func (m *GetChatLogsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetChatLogsReq.Marshal(b, m, deterministic) } -func (dst *GetUserTokenReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserTokenReq.Merge(dst, src) +func (dst *GetChatLogsReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetChatLogsReq.Merge(dst, src) } -func (m *GetUserTokenReq) XXX_Size() int { - return xxx_messageInfo_GetUserTokenReq.Size(m) +func (m *GetChatLogsReq) XXX_Size() int { + return xxx_messageInfo_GetChatLogsReq.Size(m) } -func (m *GetUserTokenReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserTokenReq.DiscardUnknown(m) +func (m *GetChatLogsReq) XXX_DiscardUnknown() { + xxx_messageInfo_GetChatLogsReq.DiscardUnknown(m) } -var xxx_messageInfo_GetUserTokenReq proto.InternalMessageInfo +var xxx_messageInfo_GetChatLogsReq proto.InternalMessageInfo -func (m *GetUserTokenReq) GetOperationID() string { +func (m *GetChatLogsReq) GetContent() string { if m != nil { - return m.OperationID + return m.Content } return "" } -func (m *GetUserTokenReq) GetUserID() string { +func (m *GetChatLogsReq) GetSendID() string { if m != nil { - return m.UserID + return m.SendID } return "" } -func (m *GetUserTokenReq) GetPlatformID() int32 { +func (m *GetChatLogsReq) GetRecvID() string { if m != nil { - return m.PlatformID + return m.RecvID } - return 0 -} - -type GetUserTokenResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` - ExpTime int64 `protobuf:"varint,3,opt,name=expTime" json:"expTime,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + return "" } -func (m *GetUserTokenResp) Reset() { *m = GetUserTokenResp{} } -func (m *GetUserTokenResp) String() string { return proto.CompactTextString(m) } -func (*GetUserTokenResp) ProtoMessage() {} -func (*GetUserTokenResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{4} -} -func (m *GetUserTokenResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserTokenResp.Unmarshal(m, b) -} -func (m *GetUserTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserTokenResp.Marshal(b, m, deterministic) -} -func (dst *GetUserTokenResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserTokenResp.Merge(dst, src) -} -func (m *GetUserTokenResp) XXX_Size() int { - return xxx_messageInfo_GetUserTokenResp.Size(m) -} -func (m *GetUserTokenResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserTokenResp.DiscardUnknown(m) +func (m *GetChatLogsReq) GetSendTime() string { + if m != nil { + return m.SendTime + } + return "" } -var xxx_messageInfo_GetUserTokenResp proto.InternalMessageInfo - -func (m *GetUserTokenResp) GetCommonResp() *CommonResp { +func (m *GetChatLogsReq) GetSessionType() int32 { if m != nil { - return m.CommonResp + return m.SessionType } - return nil + return 0 } -func (m *GetUserTokenResp) GetToken() string { +func (m *GetChatLogsReq) GetContentType() int32 { if m != nil { - return m.Token + return m.ContentType } - return "" + return 0 } -func (m *GetUserTokenResp) GetExpTime() int64 { +func (m *GetChatLogsReq) GetPagination() *sdk_ws.RequestPagination { if m != nil { - return m.ExpTime + return m.Pagination } - return 0 + return nil } -type AddUserRegisterAddFriendIDListReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - UserIDList []string `protobuf:"bytes,2,rep,name=userIDList" json:"userIDList,omitempty"` +type ChatLog struct { + ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID" json:"serverMsgID,omitempty"` + ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID" json:"clientMsgID,omitempty"` + SendID string `protobuf:"bytes,3,opt,name=sendID" json:"sendID,omitempty"` + RecvID string `protobuf:"bytes,4,opt,name=recvID" json:"recvID,omitempty"` + GroupID string `protobuf:"bytes,5,opt,name=groupID" json:"groupID,omitempty"` + RecvNickname string `protobuf:"bytes,6,opt,name=recvNickname" json:"recvNickname,omitempty"` + SenderPlatformID int32 `protobuf:"varint,7,opt,name=senderPlatformID" json:"senderPlatformID,omitempty"` + SenderNickname string `protobuf:"bytes,8,opt,name=senderNickname" json:"senderNickname,omitempty"` + SenderFaceURL string `protobuf:"bytes,9,opt,name=senderFaceURL" json:"senderFaceURL,omitempty"` + GroupName string `protobuf:"bytes,10,opt,name=groupName" json:"groupName,omitempty"` + SessionType int32 `protobuf:"varint,11,opt,name=sessionType" json:"sessionType,omitempty"` + MsgFrom int32 `protobuf:"varint,12,opt,name=msgFrom" json:"msgFrom,omitempty"` + ContentType int32 `protobuf:"varint,13,opt,name=contentType" json:"contentType,omitempty"` + Content string `protobuf:"bytes,14,opt,name=content" json:"content,omitempty"` + Status int32 `protobuf:"varint,15,opt,name=status" json:"status,omitempty"` + SendTime int64 `protobuf:"varint,16,opt,name=sendTime" json:"sendTime,omitempty"` + CreateTime int64 `protobuf:"varint,17,opt,name=createTime" json:"createTime,omitempty"` + Ex string `protobuf:"bytes,18,opt,name=ex" json:"ex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *AddUserRegisterAddFriendIDListReq) Reset() { *m = AddUserRegisterAddFriendIDListReq{} } -func (m *AddUserRegisterAddFriendIDListReq) String() string { return proto.CompactTextString(m) } -func (*AddUserRegisterAddFriendIDListReq) ProtoMessage() {} -func (*AddUserRegisterAddFriendIDListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{5} +func (m *ChatLog) Reset() { *m = ChatLog{} } +func (m *ChatLog) String() string { return proto.CompactTextString(m) } +func (*ChatLog) ProtoMessage() {} +func (*ChatLog) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{3} } -func (m *AddUserRegisterAddFriendIDListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddUserRegisterAddFriendIDListReq.Unmarshal(m, b) +func (m *ChatLog) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChatLog.Unmarshal(m, b) } -func (m *AddUserRegisterAddFriendIDListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddUserRegisterAddFriendIDListReq.Marshal(b, m, deterministic) +func (m *ChatLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChatLog.Marshal(b, m, deterministic) } -func (dst *AddUserRegisterAddFriendIDListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserRegisterAddFriendIDListReq.Merge(dst, src) +func (dst *ChatLog) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChatLog.Merge(dst, src) } -func (m *AddUserRegisterAddFriendIDListReq) XXX_Size() int { - return xxx_messageInfo_AddUserRegisterAddFriendIDListReq.Size(m) +func (m *ChatLog) XXX_Size() int { + return xxx_messageInfo_ChatLog.Size(m) } -func (m *AddUserRegisterAddFriendIDListReq) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserRegisterAddFriendIDListReq.DiscardUnknown(m) +func (m *ChatLog) XXX_DiscardUnknown() { + xxx_messageInfo_ChatLog.DiscardUnknown(m) } -var xxx_messageInfo_AddUserRegisterAddFriendIDListReq proto.InternalMessageInfo +var xxx_messageInfo_ChatLog proto.InternalMessageInfo -func (m *AddUserRegisterAddFriendIDListReq) GetOperationID() string { +func (m *ChatLog) GetServerMsgID() string { if m != nil { - return m.OperationID + return m.ServerMsgID } return "" } -func (m *AddUserRegisterAddFriendIDListReq) GetUserIDList() []string { +func (m *ChatLog) GetClientMsgID() string { if m != nil { - return m.UserIDList + return m.ClientMsgID } - return nil -} - -type AddUserRegisterAddFriendIDListResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AddUserRegisterAddFriendIDListResp) Reset() { *m = AddUserRegisterAddFriendIDListResp{} } -func (m *AddUserRegisterAddFriendIDListResp) String() string { return proto.CompactTextString(m) } -func (*AddUserRegisterAddFriendIDListResp) ProtoMessage() {} -func (*AddUserRegisterAddFriendIDListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{6} -} -func (m *AddUserRegisterAddFriendIDListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddUserRegisterAddFriendIDListResp.Unmarshal(m, b) -} -func (m *AddUserRegisterAddFriendIDListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddUserRegisterAddFriendIDListResp.Marshal(b, m, deterministic) -} -func (dst *AddUserRegisterAddFriendIDListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserRegisterAddFriendIDListResp.Merge(dst, src) -} -func (m *AddUserRegisterAddFriendIDListResp) XXX_Size() int { - return xxx_messageInfo_AddUserRegisterAddFriendIDListResp.Size(m) -} -func (m *AddUserRegisterAddFriendIDListResp) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserRegisterAddFriendIDListResp.DiscardUnknown(m) + return "" } -var xxx_messageInfo_AddUserRegisterAddFriendIDListResp proto.InternalMessageInfo - -func (m *AddUserRegisterAddFriendIDListResp) GetCommonResp() *CommonResp { +func (m *ChatLog) GetSendID() string { if m != nil { - return m.CommonResp + return m.SendID } - return nil + return "" } -type ReduceUserRegisterAddFriendIDListReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - Operation int32 `protobuf:"varint,2,opt,name=operation" json:"operation,omitempty"` - UserIDList []string `protobuf:"bytes,3,rep,name=userIDList" json:"userIDList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *ChatLog) GetRecvID() string { + if m != nil { + return m.RecvID + } + return "" } -func (m *ReduceUserRegisterAddFriendIDListReq) Reset() { *m = ReduceUserRegisterAddFriendIDListReq{} } -func (m *ReduceUserRegisterAddFriendIDListReq) String() string { return proto.CompactTextString(m) } -func (*ReduceUserRegisterAddFriendIDListReq) ProtoMessage() {} -func (*ReduceUserRegisterAddFriendIDListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{7} -} -func (m *ReduceUserRegisterAddFriendIDListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.Unmarshal(m, b) -} -func (m *ReduceUserRegisterAddFriendIDListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.Marshal(b, m, deterministic) -} -func (dst *ReduceUserRegisterAddFriendIDListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.Merge(dst, src) -} -func (m *ReduceUserRegisterAddFriendIDListReq) XXX_Size() int { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.Size(m) -} -func (m *ReduceUserRegisterAddFriendIDListReq) XXX_DiscardUnknown() { - xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.DiscardUnknown(m) +func (m *ChatLog) GetGroupID() string { + if m != nil { + return m.GroupID + } + return "" } -var xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq proto.InternalMessageInfo - -func (m *ReduceUserRegisterAddFriendIDListReq) GetOperationID() string { +func (m *ChatLog) GetRecvNickname() string { if m != nil { - return m.OperationID + return m.RecvNickname } return "" } -func (m *ReduceUserRegisterAddFriendIDListReq) GetOperation() int32 { +func (m *ChatLog) GetSenderPlatformID() int32 { if m != nil { - return m.Operation + return m.SenderPlatformID } return 0 } -func (m *ReduceUserRegisterAddFriendIDListReq) GetUserIDList() []string { +func (m *ChatLog) GetSenderNickname() string { if m != nil { - return m.UserIDList + return m.SenderNickname } - return nil -} - -type ReduceUserRegisterAddFriendIDListResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + return "" } -func (m *ReduceUserRegisterAddFriendIDListResp) Reset() { *m = ReduceUserRegisterAddFriendIDListResp{} } -func (m *ReduceUserRegisterAddFriendIDListResp) String() string { return proto.CompactTextString(m) } -func (*ReduceUserRegisterAddFriendIDListResp) ProtoMessage() {} -func (*ReduceUserRegisterAddFriendIDListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{8} -} -func (m *ReduceUserRegisterAddFriendIDListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.Unmarshal(m, b) -} -func (m *ReduceUserRegisterAddFriendIDListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.Marshal(b, m, deterministic) -} -func (dst *ReduceUserRegisterAddFriendIDListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.Merge(dst, src) -} -func (m *ReduceUserRegisterAddFriendIDListResp) XXX_Size() int { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.Size(m) -} -func (m *ReduceUserRegisterAddFriendIDListResp) XXX_DiscardUnknown() { - xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.DiscardUnknown(m) +func (m *ChatLog) GetSenderFaceURL() string { + if m != nil { + return m.SenderFaceURL + } + return "" } -var xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp proto.InternalMessageInfo - -func (m *ReduceUserRegisterAddFriendIDListResp) GetCommonResp() *CommonResp { +func (m *ChatLog) GetGroupName() string { if m != nil { - return m.CommonResp + return m.GroupName } - return nil + return "" } -type GetUserRegisterAddFriendIDListReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,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 *GetUserRegisterAddFriendIDListReq) Reset() { *m = GetUserRegisterAddFriendIDListReq{} } -func (m *GetUserRegisterAddFriendIDListReq) String() string { return proto.CompactTextString(m) } -func (*GetUserRegisterAddFriendIDListReq) ProtoMessage() {} -func (*GetUserRegisterAddFriendIDListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{9} -} -func (m *GetUserRegisterAddFriendIDListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserRegisterAddFriendIDListReq.Unmarshal(m, b) -} -func (m *GetUserRegisterAddFriendIDListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserRegisterAddFriendIDListReq.Marshal(b, m, deterministic) -} -func (dst *GetUserRegisterAddFriendIDListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRegisterAddFriendIDListReq.Merge(dst, src) -} -func (m *GetUserRegisterAddFriendIDListReq) XXX_Size() int { - return xxx_messageInfo_GetUserRegisterAddFriendIDListReq.Size(m) -} -func (m *GetUserRegisterAddFriendIDListReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserRegisterAddFriendIDListReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserRegisterAddFriendIDListReq proto.InternalMessageInfo - -func (m *GetUserRegisterAddFriendIDListReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetUserRegisterAddFriendIDListReq) GetPagination() *sdk_ws.RequestPagination { - if m != nil { - return m.Pagination - } - return nil -} - -type GetUserRegisterAddFriendIDListResp struct { - UserInfoList []*sdk_ws.UserInfo `protobuf:"bytes,1,rep,name=userInfoList" json:"userInfoList,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,3,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserRegisterAddFriendIDListResp) Reset() { *m = GetUserRegisterAddFriendIDListResp{} } -func (m *GetUserRegisterAddFriendIDListResp) String() string { return proto.CompactTextString(m) } -func (*GetUserRegisterAddFriendIDListResp) ProtoMessage() {} -func (*GetUserRegisterAddFriendIDListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{10} -} -func (m *GetUserRegisterAddFriendIDListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserRegisterAddFriendIDListResp.Unmarshal(m, b) -} -func (m *GetUserRegisterAddFriendIDListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserRegisterAddFriendIDListResp.Marshal(b, m, deterministic) -} -func (dst *GetUserRegisterAddFriendIDListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRegisterAddFriendIDListResp.Merge(dst, src) -} -func (m *GetUserRegisterAddFriendIDListResp) XXX_Size() int { - return xxx_messageInfo_GetUserRegisterAddFriendIDListResp.Size(m) -} -func (m *GetUserRegisterAddFriendIDListResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserRegisterAddFriendIDListResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserRegisterAddFriendIDListResp proto.InternalMessageInfo - -func (m *GetUserRegisterAddFriendIDListResp) GetUserInfoList() []*sdk_ws.UserInfo { - if m != nil { - return m.UserInfoList - } - return nil -} - -func (m *GetUserRegisterAddFriendIDListResp) GetPagination() *sdk_ws.ResponsePagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetUserRegisterAddFriendIDListResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetChatLogsReq struct { - Content string `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"` - SendID string `protobuf:"bytes,2,opt,name=sendID" json:"sendID,omitempty"` - RecvID string `protobuf:"bytes,3,opt,name=recvID" json:"recvID,omitempty"` - SendTime string `protobuf:"bytes,4,opt,name=sendTime" json:"sendTime,omitempty"` - SessionType int32 `protobuf:"varint,5,opt,name=sessionType" json:"sessionType,omitempty"` - ContentType int32 `protobuf:"varint,6,opt,name=contentType" json:"contentType,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,7,opt,name=pagination" json:"pagination,omitempty"` - OperationID string `protobuf:"bytes,8,opt,name=operationID" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,9,opt,name=opUserID" json:"opUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetChatLogsReq) Reset() { *m = GetChatLogsReq{} } -func (m *GetChatLogsReq) String() string { return proto.CompactTextString(m) } -func (*GetChatLogsReq) ProtoMessage() {} -func (*GetChatLogsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{11} -} -func (m *GetChatLogsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetChatLogsReq.Unmarshal(m, b) -} -func (m *GetChatLogsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetChatLogsReq.Marshal(b, m, deterministic) -} -func (dst *GetChatLogsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetChatLogsReq.Merge(dst, src) -} -func (m *GetChatLogsReq) XXX_Size() int { - return xxx_messageInfo_GetChatLogsReq.Size(m) -} -func (m *GetChatLogsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetChatLogsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetChatLogsReq proto.InternalMessageInfo - -func (m *GetChatLogsReq) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *GetChatLogsReq) GetSendID() string { - if m != nil { - return m.SendID - } - return "" -} - -func (m *GetChatLogsReq) GetRecvID() string { - if m != nil { - return m.RecvID - } - return "" -} - -func (m *GetChatLogsReq) GetSendTime() string { - if m != nil { - return m.SendTime - } - return "" -} - -func (m *GetChatLogsReq) GetSessionType() int32 { - if m != nil { - return m.SessionType - } - return 0 -} - -func (m *GetChatLogsReq) GetContentType() int32 { - if m != nil { - return m.ContentType - } - return 0 -} - -func (m *GetChatLogsReq) GetPagination() *sdk_ws.RequestPagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetChatLogsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetChatLogsReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type ChatLog struct { - ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID" json:"serverMsgID,omitempty"` - ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID" json:"clientMsgID,omitempty"` - SendID string `protobuf:"bytes,3,opt,name=sendID" json:"sendID,omitempty"` - RecvID string `protobuf:"bytes,4,opt,name=recvID" json:"recvID,omitempty"` - GroupID string `protobuf:"bytes,5,opt,name=groupID" json:"groupID,omitempty"` - RecvNickname string `protobuf:"bytes,6,opt,name=recvNickname" json:"recvNickname,omitempty"` - SenderPlatformID int32 `protobuf:"varint,7,opt,name=senderPlatformID" json:"senderPlatformID,omitempty"` - SenderNickname string `protobuf:"bytes,8,opt,name=senderNickname" json:"senderNickname,omitempty"` - SenderFaceURL string `protobuf:"bytes,9,opt,name=senderFaceURL" json:"senderFaceURL,omitempty"` - GroupName string `protobuf:"bytes,10,opt,name=groupName" json:"groupName,omitempty"` - SessionType int32 `protobuf:"varint,11,opt,name=sessionType" json:"sessionType,omitempty"` - MsgFrom int32 `protobuf:"varint,12,opt,name=msgFrom" json:"msgFrom,omitempty"` - ContentType int32 `protobuf:"varint,13,opt,name=contentType" json:"contentType,omitempty"` - Content string `protobuf:"bytes,14,opt,name=content" json:"content,omitempty"` - Status int32 `protobuf:"varint,15,opt,name=status" json:"status,omitempty"` - SendTime int64 `protobuf:"varint,16,opt,name=sendTime" json:"sendTime,omitempty"` - CreateTime int64 `protobuf:"varint,17,opt,name=createTime" json:"createTime,omitempty"` - Ex string `protobuf:"bytes,18,opt,name=ex" json:"ex,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ChatLog) Reset() { *m = ChatLog{} } -func (m *ChatLog) String() string { return proto.CompactTextString(m) } -func (*ChatLog) ProtoMessage() {} -func (*ChatLog) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{12} -} -func (m *ChatLog) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChatLog.Unmarshal(m, b) -} -func (m *ChatLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChatLog.Marshal(b, m, deterministic) -} -func (dst *ChatLog) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChatLog.Merge(dst, src) -} -func (m *ChatLog) XXX_Size() int { - return xxx_messageInfo_ChatLog.Size(m) -} -func (m *ChatLog) XXX_DiscardUnknown() { - xxx_messageInfo_ChatLog.DiscardUnknown(m) -} - -var xxx_messageInfo_ChatLog proto.InternalMessageInfo - -func (m *ChatLog) GetServerMsgID() string { - if m != nil { - return m.ServerMsgID - } - return "" -} - -func (m *ChatLog) GetClientMsgID() string { - if m != nil { - return m.ClientMsgID - } - return "" -} - -func (m *ChatLog) GetSendID() string { - if m != nil { - return m.SendID - } - return "" -} - -func (m *ChatLog) GetRecvID() string { - if m != nil { - return m.RecvID - } - return "" -} - -func (m *ChatLog) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *ChatLog) GetRecvNickname() string { - if m != nil { - return m.RecvNickname - } - return "" -} - -func (m *ChatLog) GetSenderPlatformID() int32 { - if m != nil { - return m.SenderPlatformID - } - return 0 -} - -func (m *ChatLog) GetSenderNickname() string { - if m != nil { - return m.SenderNickname - } - return "" -} - -func (m *ChatLog) GetSenderFaceURL() string { - if m != nil { - return m.SenderFaceURL - } - return "" -} - -func (m *ChatLog) GetGroupName() string { - if m != nil { - return m.GroupName - } - return "" -} - -func (m *ChatLog) GetSessionType() int32 { - if m != nil { - return m.SessionType - } - return 0 -} - -func (m *ChatLog) GetMsgFrom() int32 { - if m != nil { - return m.MsgFrom - } - return 0 -} - -func (m *ChatLog) GetContentType() int32 { - if m != nil { - return m.ContentType - } - return 0 -} - -func (m *ChatLog) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *ChatLog) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -func (m *ChatLog) GetSendTime() int64 { - if m != nil { - return m.SendTime - } - return 0 -} - -func (m *ChatLog) GetCreateTime() int64 { - if m != nil { - return m.CreateTime - } - return 0 -} - -func (m *ChatLog) GetEx() string { - if m != nil { - return m.Ex - } - return "" -} - -type GetChatLogsResp struct { - ChatLogs []*ChatLog `protobuf:"bytes,1,rep,name=chatLogs" json:"chatLogs,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"` - ChatLogsNum int32 `protobuf:"varint,3,opt,name=chatLogsNum" json:"chatLogsNum,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetChatLogsResp) Reset() { *m = GetChatLogsResp{} } -func (m *GetChatLogsResp) String() string { return proto.CompactTextString(m) } -func (*GetChatLogsResp) ProtoMessage() {} -func (*GetChatLogsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{13} -} -func (m *GetChatLogsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetChatLogsResp.Unmarshal(m, b) -} -func (m *GetChatLogsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetChatLogsResp.Marshal(b, m, deterministic) -} -func (dst *GetChatLogsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetChatLogsResp.Merge(dst, src) -} -func (m *GetChatLogsResp) XXX_Size() int { - return xxx_messageInfo_GetChatLogsResp.Size(m) -} -func (m *GetChatLogsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetChatLogsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetChatLogsResp proto.InternalMessageInfo - -func (m *GetChatLogsResp) GetChatLogs() []*ChatLog { - if m != nil { - return m.ChatLogs - } - return nil -} - -func (m *GetChatLogsResp) GetPagination() *sdk_ws.ResponsePagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetChatLogsResp) GetChatLogsNum() int32 { - if m != nil { - return m.ChatLogsNum - } - return 0 -} - -func (m *GetChatLogsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type StatisticsReq struct { - From string `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"` - To string `protobuf:"bytes,2,opt,name=to" json:"to,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StatisticsReq) Reset() { *m = StatisticsReq{} } -func (m *StatisticsReq) String() string { return proto.CompactTextString(m) } -func (*StatisticsReq) ProtoMessage() {} -func (*StatisticsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{14} -} -func (m *StatisticsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatisticsReq.Unmarshal(m, b) -} -func (m *StatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatisticsReq.Marshal(b, m, deterministic) -} -func (dst *StatisticsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatisticsReq.Merge(dst, src) -} -func (m *StatisticsReq) XXX_Size() int { - return xxx_messageInfo_StatisticsReq.Size(m) -} -func (m *StatisticsReq) XXX_DiscardUnknown() { - xxx_messageInfo_StatisticsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_StatisticsReq proto.InternalMessageInfo - -func (m *StatisticsReq) GetFrom() string { - if m != nil { - return m.From - } - return "" -} - -func (m *StatisticsReq) GetTo() string { - if m != nil { - return m.To - } - return "" -} - -type GetActiveUserReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=statisticsReq" json:"statisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetActiveUserReq) Reset() { *m = GetActiveUserReq{} } -func (m *GetActiveUserReq) String() string { return proto.CompactTextString(m) } -func (*GetActiveUserReq) ProtoMessage() {} -func (*GetActiveUserReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{15} -} -func (m *GetActiveUserReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActiveUserReq.Unmarshal(m, b) -} -func (m *GetActiveUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActiveUserReq.Marshal(b, m, deterministic) -} -func (dst *GetActiveUserReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActiveUserReq.Merge(dst, src) -} -func (m *GetActiveUserReq) XXX_Size() int { - return xxx_messageInfo_GetActiveUserReq.Size(m) -} -func (m *GetActiveUserReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetActiveUserReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActiveUserReq proto.InternalMessageInfo - -func (m *GetActiveUserReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetActiveUserReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type UserResp struct { - NickName string `protobuf:"bytes,1,opt,name=nickName" json:"nickName,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - MessageNum int32 `protobuf:"varint,3,opt,name=messageNum" json:"messageNum,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserResp) Reset() { *m = UserResp{} } -func (m *UserResp) String() string { return proto.CompactTextString(m) } -func (*UserResp) ProtoMessage() {} -func (*UserResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{16} -} -func (m *UserResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserResp.Unmarshal(m, b) -} -func (m *UserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserResp.Marshal(b, m, deterministic) -} -func (dst *UserResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserResp.Merge(dst, src) -} -func (m *UserResp) XXX_Size() int { - return xxx_messageInfo_UserResp.Size(m) -} -func (m *UserResp) XXX_DiscardUnknown() { - xxx_messageInfo_UserResp.DiscardUnknown(m) -} - -var xxx_messageInfo_UserResp proto.InternalMessageInfo - -func (m *UserResp) GetNickName() string { - if m != nil { - return m.NickName - } - return "" -} - -func (m *UserResp) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *UserResp) GetMessageNum() int32 { - if m != nil { - return m.MessageNum - } - return 0 -} - -type GetActiveUserResp struct { - Users []*UserResp `protobuf:"bytes,1,rep,name=Users" json:"Users,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetActiveUserResp) Reset() { *m = GetActiveUserResp{} } -func (m *GetActiveUserResp) String() string { return proto.CompactTextString(m) } -func (*GetActiveUserResp) ProtoMessage() {} -func (*GetActiveUserResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{17} -} -func (m *GetActiveUserResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActiveUserResp.Unmarshal(m, b) -} -func (m *GetActiveUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActiveUserResp.Marshal(b, m, deterministic) -} -func (dst *GetActiveUserResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActiveUserResp.Merge(dst, src) -} -func (m *GetActiveUserResp) XXX_Size() int { - return xxx_messageInfo_GetActiveUserResp.Size(m) -} -func (m *GetActiveUserResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetActiveUserResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActiveUserResp proto.InternalMessageInfo - -func (m *GetActiveUserResp) GetUsers() []*UserResp { - if m != nil { - return m.Users - } - return nil -} - -func (m *GetActiveUserResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetActiveGroupReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=statisticsReq" json:"statisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetActiveGroupReq) Reset() { *m = GetActiveGroupReq{} } -func (m *GetActiveGroupReq) String() string { return proto.CompactTextString(m) } -func (*GetActiveGroupReq) ProtoMessage() {} -func (*GetActiveGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{18} -} -func (m *GetActiveGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActiveGroupReq.Unmarshal(m, b) -} -func (m *GetActiveGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActiveGroupReq.Marshal(b, m, deterministic) -} -func (dst *GetActiveGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActiveGroupReq.Merge(dst, src) -} -func (m *GetActiveGroupReq) XXX_Size() int { - return xxx_messageInfo_GetActiveGroupReq.Size(m) -} -func (m *GetActiveGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetActiveGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActiveGroupReq proto.InternalMessageInfo - -func (m *GetActiveGroupReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetActiveGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GroupResp struct { - GroupName string `protobuf:"bytes,1,opt,name=GroupName" json:"GroupName,omitempty"` - GroupId string `protobuf:"bytes,2,opt,name=GroupId" json:"GroupId,omitempty"` - MessageNum int32 `protobuf:"varint,3,opt,name=MessageNum" json:"MessageNum,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupResp) Reset() { *m = GroupResp{} } -func (m *GroupResp) String() string { return proto.CompactTextString(m) } -func (*GroupResp) ProtoMessage() {} -func (*GroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{19} -} -func (m *GroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupResp.Unmarshal(m, b) -} -func (m *GroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupResp.Marshal(b, m, deterministic) -} -func (dst *GroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupResp.Merge(dst, src) -} -func (m *GroupResp) XXX_Size() int { - return xxx_messageInfo_GroupResp.Size(m) -} -func (m *GroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_GroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupResp proto.InternalMessageInfo - -func (m *GroupResp) GetGroupName() string { - if m != nil { - return m.GroupName - } - return "" -} - -func (m *GroupResp) GetGroupId() string { - if m != nil { - return m.GroupId - } - return "" -} - -func (m *GroupResp) GetMessageNum() int32 { - if m != nil { - return m.MessageNum - } - return 0 -} - -func (m *GroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetActiveGroupResp struct { - Groups []*GroupResp `protobuf:"bytes,1,rep,name=Groups" json:"Groups,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetActiveGroupResp) Reset() { *m = GetActiveGroupResp{} } -func (m *GetActiveGroupResp) String() string { return proto.CompactTextString(m) } -func (*GetActiveGroupResp) ProtoMessage() {} -func (*GetActiveGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{20} -} -func (m *GetActiveGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActiveGroupResp.Unmarshal(m, b) -} -func (m *GetActiveGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActiveGroupResp.Marshal(b, m, deterministic) -} -func (dst *GetActiveGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActiveGroupResp.Merge(dst, src) -} -func (m *GetActiveGroupResp) XXX_Size() int { - return xxx_messageInfo_GetActiveGroupResp.Size(m) -} -func (m *GetActiveGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetActiveGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActiveGroupResp proto.InternalMessageInfo - -func (m *GetActiveGroupResp) GetGroups() []*GroupResp { - if m != nil { - return m.Groups - } - return nil -} - -func (m *GetActiveGroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type DateNumList struct { - Date string `protobuf:"bytes,1,opt,name=Date" json:"Date,omitempty"` - Num int32 `protobuf:"varint,2,opt,name=Num" json:"Num,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DateNumList) Reset() { *m = DateNumList{} } -func (m *DateNumList) String() string { return proto.CompactTextString(m) } -func (*DateNumList) ProtoMessage() {} -func (*DateNumList) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{21} -} -func (m *DateNumList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DateNumList.Unmarshal(m, b) -} -func (m *DateNumList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DateNumList.Marshal(b, m, deterministic) -} -func (dst *DateNumList) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateNumList.Merge(dst, src) -} -func (m *DateNumList) XXX_Size() int { - return xxx_messageInfo_DateNumList.Size(m) -} -func (m *DateNumList) XXX_DiscardUnknown() { - xxx_messageInfo_DateNumList.DiscardUnknown(m) -} - -var xxx_messageInfo_DateNumList proto.InternalMessageInfo - -func (m *DateNumList) GetDate() string { - if m != nil { - return m.Date - } - return "" -} - -func (m *DateNumList) GetNum() int32 { - if m != nil { - return m.Num - } - return 0 -} - -type GetMessageStatisticsReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetMessageStatisticsReq) Reset() { *m = GetMessageStatisticsReq{} } -func (m *GetMessageStatisticsReq) String() string { return proto.CompactTextString(m) } -func (*GetMessageStatisticsReq) ProtoMessage() {} -func (*GetMessageStatisticsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{22} -} -func (m *GetMessageStatisticsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMessageStatisticsReq.Unmarshal(m, b) -} -func (m *GetMessageStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMessageStatisticsReq.Marshal(b, m, deterministic) -} -func (dst *GetMessageStatisticsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMessageStatisticsReq.Merge(dst, src) -} -func (m *GetMessageStatisticsReq) XXX_Size() int { - return xxx_messageInfo_GetMessageStatisticsReq.Size(m) -} -func (m *GetMessageStatisticsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetMessageStatisticsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMessageStatisticsReq proto.InternalMessageInfo - -func (m *GetMessageStatisticsReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetMessageStatisticsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetMessageStatisticsResp struct { - PrivateMessageNum int32 `protobuf:"varint,1,opt,name=PrivateMessageNum" json:"PrivateMessageNum,omitempty"` - GroupMessageNum int32 `protobuf:"varint,2,opt,name=GroupMessageNum" json:"GroupMessageNum,omitempty"` - PrivateMessageNumList []*DateNumList `protobuf:"bytes,3,rep,name=PrivateMessageNumList" json:"PrivateMessageNumList,omitempty"` - GroupMessageNumList []*DateNumList `protobuf:"bytes,4,rep,name=GroupMessageNumList" json:"GroupMessageNumList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,5,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetMessageStatisticsResp) Reset() { *m = GetMessageStatisticsResp{} } -func (m *GetMessageStatisticsResp) String() string { return proto.CompactTextString(m) } -func (*GetMessageStatisticsResp) ProtoMessage() {} -func (*GetMessageStatisticsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{23} -} -func (m *GetMessageStatisticsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMessageStatisticsResp.Unmarshal(m, b) -} -func (m *GetMessageStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMessageStatisticsResp.Marshal(b, m, deterministic) -} -func (dst *GetMessageStatisticsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMessageStatisticsResp.Merge(dst, src) -} -func (m *GetMessageStatisticsResp) XXX_Size() int { - return xxx_messageInfo_GetMessageStatisticsResp.Size(m) -} -func (m *GetMessageStatisticsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetMessageStatisticsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMessageStatisticsResp proto.InternalMessageInfo - -func (m *GetMessageStatisticsResp) GetPrivateMessageNum() int32 { - if m != nil { - return m.PrivateMessageNum - } - return 0 -} - -func (m *GetMessageStatisticsResp) GetGroupMessageNum() int32 { - if m != nil { - return m.GroupMessageNum - } - return 0 -} - -func (m *GetMessageStatisticsResp) GetPrivateMessageNumList() []*DateNumList { - if m != nil { - return m.PrivateMessageNumList - } - return nil -} - -func (m *GetMessageStatisticsResp) GetGroupMessageNumList() []*DateNumList { - if m != nil { - return m.GroupMessageNumList - } - return nil -} - -func (m *GetMessageStatisticsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetGroupStatisticsReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetGroupStatisticsReq) Reset() { *m = GetGroupStatisticsReq{} } -func (m *GetGroupStatisticsReq) String() string { return proto.CompactTextString(m) } -func (*GetGroupStatisticsReq) ProtoMessage() {} -func (*GetGroupStatisticsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{24} -} -func (m *GetGroupStatisticsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupStatisticsReq.Unmarshal(m, b) -} -func (m *GetGroupStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupStatisticsReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupStatisticsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupStatisticsReq.Merge(dst, src) -} -func (m *GetGroupStatisticsReq) XXX_Size() int { - return xxx_messageInfo_GetGroupStatisticsReq.Size(m) -} -func (m *GetGroupStatisticsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupStatisticsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupStatisticsReq proto.InternalMessageInfo - -func (m *GetGroupStatisticsReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetGroupStatisticsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetGroupStatisticsResp struct { - IncreaseGroupNum int32 `protobuf:"varint,1,opt,name=IncreaseGroupNum" json:"IncreaseGroupNum,omitempty"` - TotalGroupNum int32 `protobuf:"varint,2,opt,name=TotalGroupNum" json:"TotalGroupNum,omitempty"` - IncreaseGroupNumList []*DateNumList `protobuf:"bytes,3,rep,name=IncreaseGroupNumList" json:"IncreaseGroupNumList,omitempty"` - TotalGroupNumList []*DateNumList `protobuf:"bytes,4,rep,name=TotalGroupNumList" json:"TotalGroupNumList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,5,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetGroupStatisticsResp) Reset() { *m = GetGroupStatisticsResp{} } -func (m *GetGroupStatisticsResp) String() string { return proto.CompactTextString(m) } -func (*GetGroupStatisticsResp) ProtoMessage() {} -func (*GetGroupStatisticsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{25} -} -func (m *GetGroupStatisticsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupStatisticsResp.Unmarshal(m, b) -} -func (m *GetGroupStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupStatisticsResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupStatisticsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupStatisticsResp.Merge(dst, src) -} -func (m *GetGroupStatisticsResp) XXX_Size() int { - return xxx_messageInfo_GetGroupStatisticsResp.Size(m) -} -func (m *GetGroupStatisticsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupStatisticsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupStatisticsResp proto.InternalMessageInfo - -func (m *GetGroupStatisticsResp) GetIncreaseGroupNum() int32 { - if m != nil { - return m.IncreaseGroupNum - } - return 0 -} - -func (m *GetGroupStatisticsResp) GetTotalGroupNum() int32 { - if m != nil { - return m.TotalGroupNum - } - return 0 -} - -func (m *GetGroupStatisticsResp) GetIncreaseGroupNumList() []*DateNumList { - if m != nil { - return m.IncreaseGroupNumList - } - return nil -} - -func (m *GetGroupStatisticsResp) GetTotalGroupNumList() []*DateNumList { - if m != nil { - return m.TotalGroupNumList - } - return nil -} - -func (m *GetGroupStatisticsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetUserStatisticsReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserStatisticsReq) Reset() { *m = GetUserStatisticsReq{} } -func (m *GetUserStatisticsReq) String() string { return proto.CompactTextString(m) } -func (*GetUserStatisticsReq) ProtoMessage() {} -func (*GetUserStatisticsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{26} -} -func (m *GetUserStatisticsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserStatisticsReq.Unmarshal(m, b) -} -func (m *GetUserStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserStatisticsReq.Marshal(b, m, deterministic) -} -func (dst *GetUserStatisticsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserStatisticsReq.Merge(dst, src) -} -func (m *GetUserStatisticsReq) XXX_Size() int { - return xxx_messageInfo_GetUserStatisticsReq.Size(m) -} -func (m *GetUserStatisticsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserStatisticsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserStatisticsReq proto.InternalMessageInfo - -func (m *GetUserStatisticsReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetUserStatisticsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetUserStatisticsResp struct { - IncreaseUserNum int32 `protobuf:"varint,1,opt,name=IncreaseUserNum" json:"IncreaseUserNum,omitempty"` - ActiveUserNum int32 `protobuf:"varint,2,opt,name=ActiveUserNum" json:"ActiveUserNum,omitempty"` - TotalUserNum int32 `protobuf:"varint,3,opt,name=TotalUserNum" json:"TotalUserNum,omitempty"` - IncreaseUserNumList []*DateNumList `protobuf:"bytes,4,rep,name=IncreaseUserNumList" json:"IncreaseUserNumList,omitempty"` - ActiveUserNumList []*DateNumList `protobuf:"bytes,5,rep,name=ActiveUserNumList" json:"ActiveUserNumList,omitempty"` - TotalUserNumList []*DateNumList `protobuf:"bytes,6,rep,name=TotalUserNumList" json:"TotalUserNumList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,7,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserStatisticsResp) Reset() { *m = GetUserStatisticsResp{} } -func (m *GetUserStatisticsResp) String() string { return proto.CompactTextString(m) } -func (*GetUserStatisticsResp) ProtoMessage() {} -func (*GetUserStatisticsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{27} -} -func (m *GetUserStatisticsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserStatisticsResp.Unmarshal(m, b) -} -func (m *GetUserStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserStatisticsResp.Marshal(b, m, deterministic) -} -func (dst *GetUserStatisticsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserStatisticsResp.Merge(dst, src) -} -func (m *GetUserStatisticsResp) XXX_Size() int { - return xxx_messageInfo_GetUserStatisticsResp.Size(m) -} -func (m *GetUserStatisticsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserStatisticsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserStatisticsResp proto.InternalMessageInfo - -func (m *GetUserStatisticsResp) GetIncreaseUserNum() int32 { - if m != nil { - return m.IncreaseUserNum - } - return 0 -} - -func (m *GetUserStatisticsResp) GetActiveUserNum() int32 { - if m != nil { - return m.ActiveUserNum - } - return 0 -} - -func (m *GetUserStatisticsResp) GetTotalUserNum() int32 { - if m != nil { - return m.TotalUserNum - } - return 0 -} - -func (m *GetUserStatisticsResp) GetIncreaseUserNumList() []*DateNumList { - if m != nil { - return m.IncreaseUserNumList - } - return nil -} - -func (m *GetUserStatisticsResp) GetActiveUserNumList() []*DateNumList { - if m != nil { - return m.ActiveUserNumList - } - return nil -} - -func (m *GetUserStatisticsResp) GetTotalUserNumList() []*DateNumList { - if m != nil { - return m.TotalUserNumList - } - return nil -} - -func (m *GetUserStatisticsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GenerateInvitationCodeReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - CodeLen int32 `protobuf:"varint,2,opt,name=codeLen" json:"codeLen,omitempty"` - CodeNum int32 `protobuf:"varint,3,opt,name=codeNum" json:"codeNum,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateInvitationCodeReq) Reset() { *m = GenerateInvitationCodeReq{} } -func (m *GenerateInvitationCodeReq) String() string { return proto.CompactTextString(m) } -func (*GenerateInvitationCodeReq) ProtoMessage() {} -func (*GenerateInvitationCodeReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{28} -} -func (m *GenerateInvitationCodeReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateInvitationCodeReq.Unmarshal(m, b) -} -func (m *GenerateInvitationCodeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateInvitationCodeReq.Marshal(b, m, deterministic) -} -func (dst *GenerateInvitationCodeReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateInvitationCodeReq.Merge(dst, src) -} -func (m *GenerateInvitationCodeReq) XXX_Size() int { - return xxx_messageInfo_GenerateInvitationCodeReq.Size(m) -} -func (m *GenerateInvitationCodeReq) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateInvitationCodeReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateInvitationCodeReq proto.InternalMessageInfo - -func (m *GenerateInvitationCodeReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GenerateInvitationCodeReq) GetCodeLen() int32 { +func (m *ChatLog) GetSessionType() int32 { if m != nil { - return m.CodeLen + return m.SessionType } return 0 } -func (m *GenerateInvitationCodeReq) GetCodeNum() int32 { +func (m *ChatLog) GetMsgFrom() int32 { if m != nil { - return m.CodeNum + return m.MsgFrom } return 0 } -type GenerateInvitationCodeResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateInvitationCodeResp) Reset() { *m = GenerateInvitationCodeResp{} } -func (m *GenerateInvitationCodeResp) String() string { return proto.CompactTextString(m) } -func (*GenerateInvitationCodeResp) ProtoMessage() {} -func (*GenerateInvitationCodeResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{29} -} -func (m *GenerateInvitationCodeResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateInvitationCodeResp.Unmarshal(m, b) -} -func (m *GenerateInvitationCodeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateInvitationCodeResp.Marshal(b, m, deterministic) -} -func (dst *GenerateInvitationCodeResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateInvitationCodeResp.Merge(dst, src) -} -func (m *GenerateInvitationCodeResp) XXX_Size() int { - return xxx_messageInfo_GenerateInvitationCodeResp.Size(m) -} -func (m *GenerateInvitationCodeResp) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateInvitationCodeResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateInvitationCodeResp proto.InternalMessageInfo - -func (m *GenerateInvitationCodeResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetInvitationCodesReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - Code string `protobuf:"bytes,2,opt,name=code" json:"code,omitempty"` - Status int32 `protobuf:"varint,3,opt,name=status" json:"status,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,4,opt,name=pagination" json:"pagination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetInvitationCodesReq) Reset() { *m = GetInvitationCodesReq{} } -func (m *GetInvitationCodesReq) String() string { return proto.CompactTextString(m) } -func (*GetInvitationCodesReq) ProtoMessage() {} -func (*GetInvitationCodesReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{30} -} -func (m *GetInvitationCodesReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInvitationCodesReq.Unmarshal(m, b) -} -func (m *GetInvitationCodesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInvitationCodesReq.Marshal(b, m, deterministic) -} -func (dst *GetInvitationCodesReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInvitationCodesReq.Merge(dst, src) -} -func (m *GetInvitationCodesReq) XXX_Size() int { - return xxx_messageInfo_GetInvitationCodesReq.Size(m) -} -func (m *GetInvitationCodesReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetInvitationCodesReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInvitationCodesReq proto.InternalMessageInfo - -func (m *GetInvitationCodesReq) GetOperationID() string { +func (m *ChatLog) GetContentType() int32 { if m != nil { - return m.OperationID + return m.ContentType } - return "" + return 0 } -func (m *GetInvitationCodesReq) GetCode() string { +func (m *ChatLog) GetContent() string { if m != nil { - return m.Code + return m.Content } return "" } -func (m *GetInvitationCodesReq) GetStatus() int32 { +func (m *ChatLog) GetStatus() int32 { if m != nil { return m.Status } return 0 } -func (m *GetInvitationCodesReq) GetPagination() *sdk_ws.RequestPagination { - if m != nil { - return m.Pagination - } - return nil -} - -type InvitationCode struct { - InvitationCode string `protobuf:"bytes,1,opt,name=invitationCode" json:"invitationCode,omitempty"` - CreateTime int32 `protobuf:"varint,2,opt,name=createTime" json:"createTime,omitempty"` - LastTime int32 `protobuf:"varint,3,opt,name=lastTime" json:"lastTime,omitempty"` - UserID string `protobuf:"bytes,4,opt,name=userID" json:"userID,omitempty"` - Status int32 `protobuf:"varint,5,opt,name=status" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InvitationCode) Reset() { *m = InvitationCode{} } -func (m *InvitationCode) String() string { return proto.CompactTextString(m) } -func (*InvitationCode) ProtoMessage() {} -func (*InvitationCode) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{31} -} -func (m *InvitationCode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvitationCode.Unmarshal(m, b) -} -func (m *InvitationCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvitationCode.Marshal(b, m, deterministic) -} -func (dst *InvitationCode) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvitationCode.Merge(dst, src) -} -func (m *InvitationCode) XXX_Size() int { - return xxx_messageInfo_InvitationCode.Size(m) -} -func (m *InvitationCode) XXX_DiscardUnknown() { - xxx_messageInfo_InvitationCode.DiscardUnknown(m) -} - -var xxx_messageInfo_InvitationCode proto.InternalMessageInfo - -func (m *InvitationCode) GetInvitationCode() string { - if m != nil { - return m.InvitationCode - } - return "" -} - -func (m *InvitationCode) GetCreateTime() int32 { +func (m *ChatLog) GetSendTime() int64 { if m != nil { - return m.CreateTime + return m.SendTime } return 0 } -func (m *InvitationCode) GetLastTime() int32 { +func (m *ChatLog) GetCreateTime() int64 { if m != nil { - return m.LastTime + return m.CreateTime } return 0 } -func (m *InvitationCode) GetUserID() string { +func (m *ChatLog) GetEx() string { if m != nil { - return m.UserID + return m.Ex } return "" } -func (m *InvitationCode) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -type GetInvitationCodesResp struct { - InvitationCodes []*InvitationCode `protobuf:"bytes,1,rep,name=invitationCodes" json:"invitationCodes,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=Pagination" json:"Pagination,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,3,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetChatLogsResp struct { + ChatLogs []*ChatLog `protobuf:"bytes,1,rep,name=chatLogs" json:"chatLogs,omitempty"` + ChatLogsNum int32 `protobuf:"varint,2,opt,name=chatLogsNum" json:"chatLogsNum,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *GetInvitationCodesResp) Reset() { *m = GetInvitationCodesResp{} } -func (m *GetInvitationCodesResp) String() string { return proto.CompactTextString(m) } -func (*GetInvitationCodesResp) ProtoMessage() {} -func (*GetInvitationCodesResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{32} +func (m *GetChatLogsResp) Reset() { *m = GetChatLogsResp{} } +func (m *GetChatLogsResp) String() string { return proto.CompactTextString(m) } +func (*GetChatLogsResp) ProtoMessage() {} +func (*GetChatLogsResp) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{4} } -func (m *GetInvitationCodesResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInvitationCodesResp.Unmarshal(m, b) +func (m *GetChatLogsResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetChatLogsResp.Unmarshal(m, b) } -func (m *GetInvitationCodesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInvitationCodesResp.Marshal(b, m, deterministic) +func (m *GetChatLogsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetChatLogsResp.Marshal(b, m, deterministic) } -func (dst *GetInvitationCodesResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInvitationCodesResp.Merge(dst, src) +func (dst *GetChatLogsResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetChatLogsResp.Merge(dst, src) } -func (m *GetInvitationCodesResp) XXX_Size() int { - return xxx_messageInfo_GetInvitationCodesResp.Size(m) +func (m *GetChatLogsResp) XXX_Size() int { + return xxx_messageInfo_GetChatLogsResp.Size(m) } -func (m *GetInvitationCodesResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetInvitationCodesResp.DiscardUnknown(m) +func (m *GetChatLogsResp) XXX_DiscardUnknown() { + xxx_messageInfo_GetChatLogsResp.DiscardUnknown(m) } -var xxx_messageInfo_GetInvitationCodesResp proto.InternalMessageInfo - -func (m *GetInvitationCodesResp) GetInvitationCodes() []*InvitationCode { - if m != nil { - return m.InvitationCodes - } - return nil -} +var xxx_messageInfo_GetChatLogsResp proto.InternalMessageInfo -func (m *GetInvitationCodesResp) GetPagination() *sdk_ws.ResponsePagination { +func (m *GetChatLogsResp) GetChatLogs() []*ChatLog { if m != nil { - return m.Pagination + return m.ChatLogs } return nil } -func (m *GetInvitationCodesResp) GetCommonResp() *CommonResp { +func (m *GetChatLogsResp) GetChatLogsNum() int32 { if m != nil { - return m.CommonResp + return m.ChatLogsNum } - return nil + return 0 } -type QueryIPRegisterReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,2,opt,name=IP" json:"IP,omitempty"` +type StatisticsReq struct { + From string `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"` + To string `protobuf:"bytes,2,opt,name=to" json:"to,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *QueryIPRegisterReq) Reset() { *m = QueryIPRegisterReq{} } -func (m *QueryIPRegisterReq) String() string { return proto.CompactTextString(m) } -func (*QueryIPRegisterReq) ProtoMessage() {} -func (*QueryIPRegisterReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{33} +func (m *StatisticsReq) Reset() { *m = StatisticsReq{} } +func (m *StatisticsReq) String() string { return proto.CompactTextString(m) } +func (*StatisticsReq) ProtoMessage() {} +func (*StatisticsReq) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{5} } -func (m *QueryIPRegisterReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryIPRegisterReq.Unmarshal(m, b) +func (m *StatisticsReq) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StatisticsReq.Unmarshal(m, b) } -func (m *QueryIPRegisterReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryIPRegisterReq.Marshal(b, m, deterministic) +func (m *StatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StatisticsReq.Marshal(b, m, deterministic) } -func (dst *QueryIPRegisterReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryIPRegisterReq.Merge(dst, src) +func (dst *StatisticsReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatisticsReq.Merge(dst, src) } -func (m *QueryIPRegisterReq) XXX_Size() int { - return xxx_messageInfo_QueryIPRegisterReq.Size(m) +func (m *StatisticsReq) XXX_Size() int { + return xxx_messageInfo_StatisticsReq.Size(m) } -func (m *QueryIPRegisterReq) XXX_DiscardUnknown() { - xxx_messageInfo_QueryIPRegisterReq.DiscardUnknown(m) +func (m *StatisticsReq) XXX_DiscardUnknown() { + xxx_messageInfo_StatisticsReq.DiscardUnknown(m) } -var xxx_messageInfo_QueryIPRegisterReq proto.InternalMessageInfo +var xxx_messageInfo_StatisticsReq proto.InternalMessageInfo -func (m *QueryIPRegisterReq) GetOperationID() string { +func (m *StatisticsReq) GetFrom() string { if m != nil { - return m.OperationID + return m.From } return "" } -func (m *QueryIPRegisterReq) GetIP() string { +func (m *StatisticsReq) GetTo() string { if m != nil { - return m.IP + return m.To } return "" } -type QueryIPRegisterResp struct { - IP string `protobuf:"bytes,1,opt,name=IP" json:"IP,omitempty"` - RegisterNum int32 `protobuf:"varint,2,opt,name=RegisterNum" json:"RegisterNum,omitempty"` - Status int32 `protobuf:"varint,3,opt,name=Status" json:"Status,omitempty"` - UserIDList []string `protobuf:"bytes,4,rep,name=userIDList" json:"userIDList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,5,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetActiveUserReq struct { + StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=statisticsReq" json:"statisticsReq,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *QueryIPRegisterResp) Reset() { *m = QueryIPRegisterResp{} } -func (m *QueryIPRegisterResp) String() string { return proto.CompactTextString(m) } -func (*QueryIPRegisterResp) ProtoMessage() {} -func (*QueryIPRegisterResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{34} -} -func (m *QueryIPRegisterResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryIPRegisterResp.Unmarshal(m, b) -} -func (m *QueryIPRegisterResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryIPRegisterResp.Marshal(b, m, deterministic) -} -func (dst *QueryIPRegisterResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryIPRegisterResp.Merge(dst, src) +func (m *GetActiveUserReq) Reset() { *m = GetActiveUserReq{} } +func (m *GetActiveUserReq) String() string { return proto.CompactTextString(m) } +func (*GetActiveUserReq) ProtoMessage() {} +func (*GetActiveUserReq) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{6} } -func (m *QueryIPRegisterResp) XXX_Size() int { - return xxx_messageInfo_QueryIPRegisterResp.Size(m) +func (m *GetActiveUserReq) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetActiveUserReq.Unmarshal(m, b) } -func (m *QueryIPRegisterResp) XXX_DiscardUnknown() { - xxx_messageInfo_QueryIPRegisterResp.DiscardUnknown(m) +func (m *GetActiveUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetActiveUserReq.Marshal(b, m, deterministic) } - -var xxx_messageInfo_QueryIPRegisterResp proto.InternalMessageInfo - -func (m *QueryIPRegisterResp) GetIP() string { - if m != nil { - return m.IP - } - return "" +func (dst *GetActiveUserReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetActiveUserReq.Merge(dst, src) } - -func (m *QueryIPRegisterResp) GetRegisterNum() int32 { - if m != nil { - return m.RegisterNum - } - return 0 +func (m *GetActiveUserReq) XXX_Size() int { + return xxx_messageInfo_GetActiveUserReq.Size(m) } - -func (m *QueryIPRegisterResp) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 +func (m *GetActiveUserReq) XXX_DiscardUnknown() { + xxx_messageInfo_GetActiveUserReq.DiscardUnknown(m) } -func (m *QueryIPRegisterResp) GetUserIDList() []string { - if m != nil { - return m.UserIDList - } - return nil -} +var xxx_messageInfo_GetActiveUserReq proto.InternalMessageInfo -func (m *QueryIPRegisterResp) GetCommonResp() *CommonResp { +func (m *GetActiveUserReq) GetStatisticsReq() *StatisticsReq { if m != nil { - return m.CommonResp + return m.StatisticsReq } return nil } -type AddIPLimitReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,2,opt,name=IP" json:"IP,omitempty"` - LimitTime int32 `protobuf:"varint,3,opt,name=limitTime" json:"limitTime,omitempty"` +type UserResp struct { + NickName string `protobuf:"bytes,1,opt,name=nickName" json:"nickName,omitempty"` + UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` + MessageNum int32 `protobuf:"varint,3,opt,name=messageNum" json:"messageNum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *AddIPLimitReq) Reset() { *m = AddIPLimitReq{} } -func (m *AddIPLimitReq) String() string { return proto.CompactTextString(m) } -func (*AddIPLimitReq) ProtoMessage() {} -func (*AddIPLimitReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{35} +func (m *UserResp) Reset() { *m = UserResp{} } +func (m *UserResp) String() string { return proto.CompactTextString(m) } +func (*UserResp) ProtoMessage() {} +func (*UserResp) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{7} } -func (m *AddIPLimitReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddIPLimitReq.Unmarshal(m, b) +func (m *UserResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserResp.Unmarshal(m, b) } -func (m *AddIPLimitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddIPLimitReq.Marshal(b, m, deterministic) +func (m *UserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserResp.Marshal(b, m, deterministic) } -func (dst *AddIPLimitReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddIPLimitReq.Merge(dst, src) +func (dst *UserResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserResp.Merge(dst, src) } -func (m *AddIPLimitReq) XXX_Size() int { - return xxx_messageInfo_AddIPLimitReq.Size(m) +func (m *UserResp) XXX_Size() int { + return xxx_messageInfo_UserResp.Size(m) } -func (m *AddIPLimitReq) XXX_DiscardUnknown() { - xxx_messageInfo_AddIPLimitReq.DiscardUnknown(m) +func (m *UserResp) XXX_DiscardUnknown() { + xxx_messageInfo_UserResp.DiscardUnknown(m) } -var xxx_messageInfo_AddIPLimitReq proto.InternalMessageInfo +var xxx_messageInfo_UserResp proto.InternalMessageInfo -func (m *AddIPLimitReq) GetOperationID() string { +func (m *UserResp) GetNickName() string { if m != nil { - return m.OperationID + return m.NickName } return "" } -func (m *AddIPLimitReq) GetIP() string { +func (m *UserResp) GetUserID() string { if m != nil { - return m.IP + return m.UserID } return "" } -func (m *AddIPLimitReq) GetLimitTime() int32 { +func (m *UserResp) GetMessageNum() int32 { if m != nil { - return m.LimitTime + return m.MessageNum } return 0 } -type AddIPLimitResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` +type GetActiveUserResp struct { + Users []*UserResp `protobuf:"bytes,1,rep,name=Users" json:"Users,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *AddIPLimitResp) Reset() { *m = AddIPLimitResp{} } -func (m *AddIPLimitResp) String() string { return proto.CompactTextString(m) } -func (*AddIPLimitResp) ProtoMessage() {} -func (*AddIPLimitResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{36} +func (m *GetActiveUserResp) Reset() { *m = GetActiveUserResp{} } +func (m *GetActiveUserResp) String() string { return proto.CompactTextString(m) } +func (*GetActiveUserResp) ProtoMessage() {} +func (*GetActiveUserResp) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{8} +} +func (m *GetActiveUserResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetActiveUserResp.Unmarshal(m, b) +} +func (m *GetActiveUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetActiveUserResp.Marshal(b, m, deterministic) +} +func (dst *GetActiveUserResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetActiveUserResp.Merge(dst, src) +} +func (m *GetActiveUserResp) XXX_Size() int { + return xxx_messageInfo_GetActiveUserResp.Size(m) +} +func (m *GetActiveUserResp) XXX_DiscardUnknown() { + xxx_messageInfo_GetActiveUserResp.DiscardUnknown(m) +} + +var xxx_messageInfo_GetActiveUserResp proto.InternalMessageInfo + +func (m *GetActiveUserResp) GetUsers() []*UserResp { + if m != nil { + return m.Users + } + return nil +} + +type GetActiveGroupReq struct { + StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=statisticsReq" json:"statisticsReq,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetActiveGroupReq) Reset() { *m = GetActiveGroupReq{} } +func (m *GetActiveGroupReq) String() string { return proto.CompactTextString(m) } +func (*GetActiveGroupReq) ProtoMessage() {} +func (*GetActiveGroupReq) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{9} } -func (m *AddIPLimitResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddIPLimitResp.Unmarshal(m, b) +func (m *GetActiveGroupReq) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetActiveGroupReq.Unmarshal(m, b) } -func (m *AddIPLimitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddIPLimitResp.Marshal(b, m, deterministic) +func (m *GetActiveGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetActiveGroupReq.Marshal(b, m, deterministic) } -func (dst *AddIPLimitResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddIPLimitResp.Merge(dst, src) +func (dst *GetActiveGroupReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetActiveGroupReq.Merge(dst, src) } -func (m *AddIPLimitResp) XXX_Size() int { - return xxx_messageInfo_AddIPLimitResp.Size(m) +func (m *GetActiveGroupReq) XXX_Size() int { + return xxx_messageInfo_GetActiveGroupReq.Size(m) } -func (m *AddIPLimitResp) XXX_DiscardUnknown() { - xxx_messageInfo_AddIPLimitResp.DiscardUnknown(m) +func (m *GetActiveGroupReq) XXX_DiscardUnknown() { + xxx_messageInfo_GetActiveGroupReq.DiscardUnknown(m) } -var xxx_messageInfo_AddIPLimitResp proto.InternalMessageInfo +var xxx_messageInfo_GetActiveGroupReq proto.InternalMessageInfo -func (m *AddIPLimitResp) GetCommonResp() *CommonResp { +func (m *GetActiveGroupReq) GetStatisticsReq() *StatisticsReq { if m != nil { - return m.CommonResp + return m.StatisticsReq } return nil } -type RemoveIPLimitReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,2,opt,name=IP" json:"IP,omitempty"` +type GroupResp struct { + GroupName string `protobuf:"bytes,1,opt,name=GroupName" json:"GroupName,omitempty"` + GroupID string `protobuf:"bytes,2,opt,name=GroupID" json:"GroupID,omitempty"` + MessageNum int32 `protobuf:"varint,3,opt,name=MessageNum" json:"MessageNum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *RemoveIPLimitReq) Reset() { *m = RemoveIPLimitReq{} } -func (m *RemoveIPLimitReq) String() string { return proto.CompactTextString(m) } -func (*RemoveIPLimitReq) ProtoMessage() {} -func (*RemoveIPLimitReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{37} +func (m *GroupResp) Reset() { *m = GroupResp{} } +func (m *GroupResp) String() string { return proto.CompactTextString(m) } +func (*GroupResp) ProtoMessage() {} +func (*GroupResp) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{10} } -func (m *RemoveIPLimitReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveIPLimitReq.Unmarshal(m, b) +func (m *GroupResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GroupResp.Unmarshal(m, b) } -func (m *RemoveIPLimitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveIPLimitReq.Marshal(b, m, deterministic) +func (m *GroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GroupResp.Marshal(b, m, deterministic) } -func (dst *RemoveIPLimitReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveIPLimitReq.Merge(dst, src) +func (dst *GroupResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_GroupResp.Merge(dst, src) } -func (m *RemoveIPLimitReq) XXX_Size() int { - return xxx_messageInfo_RemoveIPLimitReq.Size(m) +func (m *GroupResp) XXX_Size() int { + return xxx_messageInfo_GroupResp.Size(m) } -func (m *RemoveIPLimitReq) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveIPLimitReq.DiscardUnknown(m) +func (m *GroupResp) XXX_DiscardUnknown() { + xxx_messageInfo_GroupResp.DiscardUnknown(m) } -var xxx_messageInfo_RemoveIPLimitReq proto.InternalMessageInfo +var xxx_messageInfo_GroupResp proto.InternalMessageInfo -func (m *RemoveIPLimitReq) GetOperationID() string { +func (m *GroupResp) GetGroupName() string { if m != nil { - return m.OperationID + return m.GroupName } return "" } -func (m *RemoveIPLimitReq) GetIP() string { +func (m *GroupResp) GetGroupID() string { if m != nil { - return m.IP + return m.GroupID } return "" } -type RemoveIPLimitResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemoveIPLimitResp) Reset() { *m = RemoveIPLimitResp{} } -func (m *RemoveIPLimitResp) String() string { return proto.CompactTextString(m) } -func (*RemoveIPLimitResp) ProtoMessage() {} -func (*RemoveIPLimitResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{38} -} -func (m *RemoveIPLimitResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveIPLimitResp.Unmarshal(m, b) -} -func (m *RemoveIPLimitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveIPLimitResp.Marshal(b, m, deterministic) -} -func (dst *RemoveIPLimitResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveIPLimitResp.Merge(dst, src) -} -func (m *RemoveIPLimitResp) XXX_Size() int { - return xxx_messageInfo_RemoveIPLimitResp.Size(m) -} -func (m *RemoveIPLimitResp) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveIPLimitResp.DiscardUnknown(m) -} - -var xxx_messageInfo_RemoveIPLimitResp proto.InternalMessageInfo - -func (m *RemoveIPLimitResp) GetCommonResp() *CommonResp { +func (m *GroupResp) GetMessageNum() int32 { if m != nil { - return m.CommonResp + return m.MessageNum } - return nil + return 0 } -type QueryUserIDIPLimitLoginReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetActiveGroupResp struct { + Groups []*GroupResp `protobuf:"bytes,1,rep,name=Groups" json:"Groups,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *QueryUserIDIPLimitLoginReq) Reset() { *m = QueryUserIDIPLimitLoginReq{} } -func (m *QueryUserIDIPLimitLoginReq) String() string { return proto.CompactTextString(m) } -func (*QueryUserIDIPLimitLoginReq) ProtoMessage() {} -func (*QueryUserIDIPLimitLoginReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{39} +func (m *GetActiveGroupResp) Reset() { *m = GetActiveGroupResp{} } +func (m *GetActiveGroupResp) String() string { return proto.CompactTextString(m) } +func (*GetActiveGroupResp) ProtoMessage() {} +func (*GetActiveGroupResp) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{11} } -func (m *QueryUserIDIPLimitLoginReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryUserIDIPLimitLoginReq.Unmarshal(m, b) +func (m *GetActiveGroupResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetActiveGroupResp.Unmarshal(m, b) } -func (m *QueryUserIDIPLimitLoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryUserIDIPLimitLoginReq.Marshal(b, m, deterministic) +func (m *GetActiveGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetActiveGroupResp.Marshal(b, m, deterministic) } -func (dst *QueryUserIDIPLimitLoginReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryUserIDIPLimitLoginReq.Merge(dst, src) +func (dst *GetActiveGroupResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetActiveGroupResp.Merge(dst, src) } -func (m *QueryUserIDIPLimitLoginReq) XXX_Size() int { - return xxx_messageInfo_QueryUserIDIPLimitLoginReq.Size(m) +func (m *GetActiveGroupResp) XXX_Size() int { + return xxx_messageInfo_GetActiveGroupResp.Size(m) } -func (m *QueryUserIDIPLimitLoginReq) XXX_DiscardUnknown() { - xxx_messageInfo_QueryUserIDIPLimitLoginReq.DiscardUnknown(m) +func (m *GetActiveGroupResp) XXX_DiscardUnknown() { + xxx_messageInfo_GetActiveGroupResp.DiscardUnknown(m) } -var xxx_messageInfo_QueryUserIDIPLimitLoginReq proto.InternalMessageInfo - -func (m *QueryUserIDIPLimitLoginReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} +var xxx_messageInfo_GetActiveGroupResp proto.InternalMessageInfo -func (m *QueryUserIDIPLimitLoginReq) GetUserID() string { +func (m *GetActiveGroupResp) GetGroups() []*GroupResp { if m != nil { - return m.UserID + return m.Groups } - return "" + return nil } -type UserIPLimit struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - IP string `protobuf:"bytes,2,opt,name=IP" json:"IP,omitempty"` - CreateTime int32 `protobuf:"varint,3,opt,name=createTime" json:"createTime,omitempty"` +type DateNumList struct { + Date string `protobuf:"bytes,1,opt,name=Date" json:"Date,omitempty"` + Num int32 `protobuf:"varint,2,opt,name=Num" json:"Num,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *UserIPLimit) Reset() { *m = UserIPLimit{} } -func (m *UserIPLimit) String() string { return proto.CompactTextString(m) } -func (*UserIPLimit) ProtoMessage() {} -func (*UserIPLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{40} +func (m *DateNumList) Reset() { *m = DateNumList{} } +func (m *DateNumList) String() string { return proto.CompactTextString(m) } +func (*DateNumList) ProtoMessage() {} +func (*DateNumList) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{12} } -func (m *UserIPLimit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserIPLimit.Unmarshal(m, b) +func (m *DateNumList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DateNumList.Unmarshal(m, b) } -func (m *UserIPLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserIPLimit.Marshal(b, m, deterministic) +func (m *DateNumList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DateNumList.Marshal(b, m, deterministic) } -func (dst *UserIPLimit) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserIPLimit.Merge(dst, src) +func (dst *DateNumList) XXX_Merge(src proto.Message) { + xxx_messageInfo_DateNumList.Merge(dst, src) } -func (m *UserIPLimit) XXX_Size() int { - return xxx_messageInfo_UserIPLimit.Size(m) +func (m *DateNumList) XXX_Size() int { + return xxx_messageInfo_DateNumList.Size(m) } -func (m *UserIPLimit) XXX_DiscardUnknown() { - xxx_messageInfo_UserIPLimit.DiscardUnknown(m) +func (m *DateNumList) XXX_DiscardUnknown() { + xxx_messageInfo_DateNumList.DiscardUnknown(m) } -var xxx_messageInfo_UserIPLimit proto.InternalMessageInfo - -func (m *UserIPLimit) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} +var xxx_messageInfo_DateNumList proto.InternalMessageInfo -func (m *UserIPLimit) GetIP() string { +func (m *DateNumList) GetDate() string { if m != nil { - return m.IP + return m.Date } return "" } -func (m *UserIPLimit) GetCreateTime() int32 { +func (m *DateNumList) GetNum() int32 { if m != nil { - return m.CreateTime + return m.Num } return 0 } -type QueryUserIDIPLimitLoginResp struct { - UserIPLimits []*UserIPLimit `protobuf:"bytes,1,rep,name=UserIPLimits" json:"UserIPLimits,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp" json:"commonResp,omitempty"` +type GetMessageStatisticsReq struct { + StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *QueryUserIDIPLimitLoginResp) Reset() { *m = QueryUserIDIPLimitLoginResp{} } -func (m *QueryUserIDIPLimitLoginResp) String() string { return proto.CompactTextString(m) } -func (*QueryUserIDIPLimitLoginResp) ProtoMessage() {} -func (*QueryUserIDIPLimitLoginResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{41} +func (m *GetMessageStatisticsReq) Reset() { *m = GetMessageStatisticsReq{} } +func (m *GetMessageStatisticsReq) String() string { return proto.CompactTextString(m) } +func (*GetMessageStatisticsReq) ProtoMessage() {} +func (*GetMessageStatisticsReq) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{13} } -func (m *QueryUserIDIPLimitLoginResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryUserIDIPLimitLoginResp.Unmarshal(m, b) +func (m *GetMessageStatisticsReq) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetMessageStatisticsReq.Unmarshal(m, b) } -func (m *QueryUserIDIPLimitLoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryUserIDIPLimitLoginResp.Marshal(b, m, deterministic) +func (m *GetMessageStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetMessageStatisticsReq.Marshal(b, m, deterministic) } -func (dst *QueryUserIDIPLimitLoginResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryUserIDIPLimitLoginResp.Merge(dst, src) +func (dst *GetMessageStatisticsReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMessageStatisticsReq.Merge(dst, src) } -func (m *QueryUserIDIPLimitLoginResp) XXX_Size() int { - return xxx_messageInfo_QueryUserIDIPLimitLoginResp.Size(m) +func (m *GetMessageStatisticsReq) XXX_Size() int { + return xxx_messageInfo_GetMessageStatisticsReq.Size(m) } -func (m *QueryUserIDIPLimitLoginResp) XXX_DiscardUnknown() { - xxx_messageInfo_QueryUserIDIPLimitLoginResp.DiscardUnknown(m) +func (m *GetMessageStatisticsReq) XXX_DiscardUnknown() { + xxx_messageInfo_GetMessageStatisticsReq.DiscardUnknown(m) } -var xxx_messageInfo_QueryUserIDIPLimitLoginResp proto.InternalMessageInfo - -func (m *QueryUserIDIPLimitLoginResp) GetUserIPLimits() []*UserIPLimit { - if m != nil { - return m.UserIPLimits - } - return nil -} +var xxx_messageInfo_GetMessageStatisticsReq proto.InternalMessageInfo -func (m *QueryUserIDIPLimitLoginResp) GetCommonResp() *CommonResp { +func (m *GetMessageStatisticsReq) GetStatisticsReq() *StatisticsReq { if m != nil { - return m.CommonResp + return m.StatisticsReq } return nil } -type AddUserIPLimitLoginReq struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,3,opt,name=IP" json:"IP,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetMessageStatisticsResp struct { + PrivateMessageNum int32 `protobuf:"varint,1,opt,name=PrivateMessageNum" json:"PrivateMessageNum,omitempty"` + GroupMessageNum int32 `protobuf:"varint,2,opt,name=GroupMessageNum" json:"GroupMessageNum,omitempty"` + PrivateMessageNumList []*DateNumList `protobuf:"bytes,3,rep,name=PrivateMessageNumList" json:"PrivateMessageNumList,omitempty"` + GroupMessageNumList []*DateNumList `protobuf:"bytes,4,rep,name=GroupMessageNumList" json:"GroupMessageNumList,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AddUserIPLimitLoginReq) Reset() { *m = AddUserIPLimitLoginReq{} } -func (m *AddUserIPLimitLoginReq) String() string { return proto.CompactTextString(m) } -func (*AddUserIPLimitLoginReq) ProtoMessage() {} -func (*AddUserIPLimitLoginReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{42} +func (m *GetMessageStatisticsResp) Reset() { *m = GetMessageStatisticsResp{} } +func (m *GetMessageStatisticsResp) String() string { return proto.CompactTextString(m) } +func (*GetMessageStatisticsResp) ProtoMessage() {} +func (*GetMessageStatisticsResp) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{14} } -func (m *AddUserIPLimitLoginReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddUserIPLimitLoginReq.Unmarshal(m, b) +func (m *GetMessageStatisticsResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetMessageStatisticsResp.Unmarshal(m, b) } -func (m *AddUserIPLimitLoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddUserIPLimitLoginReq.Marshal(b, m, deterministic) +func (m *GetMessageStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetMessageStatisticsResp.Marshal(b, m, deterministic) } -func (dst *AddUserIPLimitLoginReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserIPLimitLoginReq.Merge(dst, src) +func (dst *GetMessageStatisticsResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMessageStatisticsResp.Merge(dst, src) } -func (m *AddUserIPLimitLoginReq) XXX_Size() int { - return xxx_messageInfo_AddUserIPLimitLoginReq.Size(m) +func (m *GetMessageStatisticsResp) XXX_Size() int { + return xxx_messageInfo_GetMessageStatisticsResp.Size(m) } -func (m *AddUserIPLimitLoginReq) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserIPLimitLoginReq.DiscardUnknown(m) +func (m *GetMessageStatisticsResp) XXX_DiscardUnknown() { + xxx_messageInfo_GetMessageStatisticsResp.DiscardUnknown(m) } -var xxx_messageInfo_AddUserIPLimitLoginReq proto.InternalMessageInfo +var xxx_messageInfo_GetMessageStatisticsResp proto.InternalMessageInfo -func (m *AddUserIPLimitLoginReq) GetUserID() string { +func (m *GetMessageStatisticsResp) GetSingleChatMessageNum() int32 { if m != nil { - return m.UserID + return m.PrivateMessageNum } - return "" + return 0 } -func (m *AddUserIPLimitLoginReq) GetOperationID() string { +func (m *GetMessageStatisticsResp) GetGroupMessageNum() int32 { if m != nil { - return m.OperationID + return m.GroupMessageNum } - return "" + return 0 } -func (m *AddUserIPLimitLoginReq) GetIP() string { +func (m *GetMessageStatisticsResp) GetSingleChatMessageNumList() []*DateNumList { if m != nil { - return m.IP + return m.PrivateMessageNumList } - return "" + return nil } -type AddUserIPLimitLoginResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *GetMessageStatisticsResp) GetGroupMessageNumList() []*DateNumList { + if m != nil { + return m.GroupMessageNumList + } + return nil +} + +type GetGroupStatisticsReq struct { + StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AddUserIPLimitLoginResp) Reset() { *m = AddUserIPLimitLoginResp{} } -func (m *AddUserIPLimitLoginResp) String() string { return proto.CompactTextString(m) } -func (*AddUserIPLimitLoginResp) ProtoMessage() {} -func (*AddUserIPLimitLoginResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{43} +func (m *GetGroupStatisticsReq) Reset() { *m = GetGroupStatisticsReq{} } +func (m *GetGroupStatisticsReq) String() string { return proto.CompactTextString(m) } +func (*GetGroupStatisticsReq) ProtoMessage() {} +func (*GetGroupStatisticsReq) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{15} } -func (m *AddUserIPLimitLoginResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddUserIPLimitLoginResp.Unmarshal(m, b) +func (m *GetGroupStatisticsReq) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetGroupStatisticsReq.Unmarshal(m, b) } -func (m *AddUserIPLimitLoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddUserIPLimitLoginResp.Marshal(b, m, deterministic) +func (m *GetGroupStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetGroupStatisticsReq.Marshal(b, m, deterministic) } -func (dst *AddUserIPLimitLoginResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserIPLimitLoginResp.Merge(dst, src) +func (dst *GetGroupStatisticsReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetGroupStatisticsReq.Merge(dst, src) } -func (m *AddUserIPLimitLoginResp) XXX_Size() int { - return xxx_messageInfo_AddUserIPLimitLoginResp.Size(m) +func (m *GetGroupStatisticsReq) XXX_Size() int { + return xxx_messageInfo_GetGroupStatisticsReq.Size(m) } -func (m *AddUserIPLimitLoginResp) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserIPLimitLoginResp.DiscardUnknown(m) +func (m *GetGroupStatisticsReq) XXX_DiscardUnknown() { + xxx_messageInfo_GetGroupStatisticsReq.DiscardUnknown(m) } -var xxx_messageInfo_AddUserIPLimitLoginResp proto.InternalMessageInfo +var xxx_messageInfo_GetGroupStatisticsReq proto.InternalMessageInfo -func (m *AddUserIPLimitLoginResp) GetCommonResp() *CommonResp { +func (m *GetGroupStatisticsReq) GetStatisticsReq() *StatisticsReq { if m != nil { - return m.CommonResp + return m.StatisticsReq } return nil } -type RemoveUserIPLimitReq struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,3,opt,name=IP" json:"IP,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetGroupStatisticsResp struct { + IncreaseGroupNum int32 `protobuf:"varint,1,opt,name=IncreaseGroupNum" json:"IncreaseGroupNum,omitempty"` + TotalGroupNum int32 `protobuf:"varint,2,opt,name=TotalGroupNum" json:"TotalGroupNum,omitempty"` + IncreaseGroupNumList []*DateNumList `protobuf:"bytes,3,rep,name=IncreaseGroupNumList" json:"IncreaseGroupNumList,omitempty"` + TotalGroupNumList []*DateNumList `protobuf:"bytes,4,rep,name=TotalGroupNumList" json:"TotalGroupNumList,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RemoveUserIPLimitReq) Reset() { *m = RemoveUserIPLimitReq{} } -func (m *RemoveUserIPLimitReq) String() string { return proto.CompactTextString(m) } -func (*RemoveUserIPLimitReq) ProtoMessage() {} -func (*RemoveUserIPLimitReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{44} +func (m *GetGroupStatisticsResp) Reset() { *m = GetGroupStatisticsResp{} } +func (m *GetGroupStatisticsResp) String() string { return proto.CompactTextString(m) } +func (*GetGroupStatisticsResp) ProtoMessage() {} +func (*GetGroupStatisticsResp) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{16} } -func (m *RemoveUserIPLimitReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveUserIPLimitReq.Unmarshal(m, b) +func (m *GetGroupStatisticsResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetGroupStatisticsResp.Unmarshal(m, b) } -func (m *RemoveUserIPLimitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveUserIPLimitReq.Marshal(b, m, deterministic) +func (m *GetGroupStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetGroupStatisticsResp.Marshal(b, m, deterministic) } -func (dst *RemoveUserIPLimitReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveUserIPLimitReq.Merge(dst, src) +func (dst *GetGroupStatisticsResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetGroupStatisticsResp.Merge(dst, src) } -func (m *RemoveUserIPLimitReq) XXX_Size() int { - return xxx_messageInfo_RemoveUserIPLimitReq.Size(m) +func (m *GetGroupStatisticsResp) XXX_Size() int { + return xxx_messageInfo_GetGroupStatisticsResp.Size(m) } -func (m *RemoveUserIPLimitReq) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveUserIPLimitReq.DiscardUnknown(m) +func (m *GetGroupStatisticsResp) XXX_DiscardUnknown() { + xxx_messageInfo_GetGroupStatisticsResp.DiscardUnknown(m) } -var xxx_messageInfo_RemoveUserIPLimitReq proto.InternalMessageInfo +var xxx_messageInfo_GetGroupStatisticsResp proto.InternalMessageInfo -func (m *RemoveUserIPLimitReq) GetUserID() string { +func (m *GetGroupStatisticsResp) GetIncreaseGroupNum() int32 { if m != nil { - return m.UserID + return m.IncreaseGroupNum + } + return 0 +} + +func (m *GetGroupStatisticsResp) GetTotalGroupNum() int32 { + if m != nil { + return m.TotalGroupNum } - return "" + return 0 } -func (m *RemoveUserIPLimitReq) GetOperationID() string { +func (m *GetGroupStatisticsResp) GetIncreaseGroupNumList() []*DateNumList { if m != nil { - return m.OperationID + return m.IncreaseGroupNumList } - return "" + return nil } -func (m *RemoveUserIPLimitReq) GetIP() string { +func (m *GetGroupStatisticsResp) GetTotalGroupNumList() []*DateNumList { if m != nil { - return m.IP + return m.TotalGroupNumList } - return "" + return nil } -type RemoveUserIPLimitResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetUserStatisticsReq struct { + StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"` + OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RemoveUserIPLimitResp) Reset() { *m = RemoveUserIPLimitResp{} } -func (m *RemoveUserIPLimitResp) String() string { return proto.CompactTextString(m) } -func (*RemoveUserIPLimitResp) ProtoMessage() {} -func (*RemoveUserIPLimitResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{45} +func (m *GetUserStatisticsReq) Reset() { *m = GetUserStatisticsReq{} } +func (m *GetUserStatisticsReq) String() string { return proto.CompactTextString(m) } +func (*GetUserStatisticsReq) ProtoMessage() {} +func (*GetUserStatisticsReq) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{17} } -func (m *RemoveUserIPLimitResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveUserIPLimitResp.Unmarshal(m, b) +func (m *GetUserStatisticsReq) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetUserStatisticsReq.Unmarshal(m, b) } -func (m *RemoveUserIPLimitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveUserIPLimitResp.Marshal(b, m, deterministic) +func (m *GetUserStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetUserStatisticsReq.Marshal(b, m, deterministic) } -func (dst *RemoveUserIPLimitResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveUserIPLimitResp.Merge(dst, src) +func (dst *GetUserStatisticsReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserStatisticsReq.Merge(dst, src) } -func (m *RemoveUserIPLimitResp) XXX_Size() int { - return xxx_messageInfo_RemoveUserIPLimitResp.Size(m) +func (m *GetUserStatisticsReq) XXX_Size() int { + return xxx_messageInfo_GetUserStatisticsReq.Size(m) } -func (m *RemoveUserIPLimitResp) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveUserIPLimitResp.DiscardUnknown(m) +func (m *GetUserStatisticsReq) XXX_DiscardUnknown() { + xxx_messageInfo_GetUserStatisticsReq.DiscardUnknown(m) } -var xxx_messageInfo_RemoveUserIPLimitResp proto.InternalMessageInfo +var xxx_messageInfo_GetUserStatisticsReq proto.InternalMessageInfo -func (m *RemoveUserIPLimitResp) GetCommonResp() *CommonResp { +func (m *GetUserStatisticsReq) GetStatisticsReq() *StatisticsReq { if m != nil { - return m.CommonResp + return m.StatisticsReq } return nil } -type GetClientInitConfigReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetClientInitConfigReq) Reset() { *m = GetClientInitConfigReq{} } -func (m *GetClientInitConfigReq) String() string { return proto.CompactTextString(m) } -func (*GetClientInitConfigReq) ProtoMessage() {} -func (*GetClientInitConfigReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{46} -} -func (m *GetClientInitConfigReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClientInitConfigReq.Unmarshal(m, b) -} -func (m *GetClientInitConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClientInitConfigReq.Marshal(b, m, deterministic) -} -func (dst *GetClientInitConfigReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClientInitConfigReq.Merge(dst, src) -} -func (m *GetClientInitConfigReq) XXX_Size() int { - return xxx_messageInfo_GetClientInitConfigReq.Size(m) -} -func (m *GetClientInitConfigReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetClientInitConfigReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClientInitConfigReq proto.InternalMessageInfo - -func (m *GetClientInitConfigReq) GetOperationID() string { +func (m *GetUserStatisticsReq) GetOperationID() string { if m != nil { return m.OperationID } return "" } -type GetClientInitConfigResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetUserStatisticsResp struct { + IncreaseUserNum int32 `protobuf:"varint,1,opt,name=IncreaseUserNum" json:"IncreaseUserNum,omitempty"` + ActiveUserNum int32 `protobuf:"varint,2,opt,name=ActiveUserNum" json:"ActiveUserNum,omitempty"` + TotalUserNum int32 `protobuf:"varint,3,opt,name=TotalUserNum" json:"TotalUserNum,omitempty"` + IncreaseUserNumList []*DateNumList `protobuf:"bytes,4,rep,name=IncreaseUserNumList" json:"IncreaseUserNumList,omitempty"` + ActiveUserNumList []*DateNumList `protobuf:"bytes,5,rep,name=ActiveUserNumList" json:"ActiveUserNumList,omitempty"` + TotalUserNumList []*DateNumList `protobuf:"bytes,6,rep,name=TotalUserNumList" json:"TotalUserNumList,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *GetClientInitConfigResp) Reset() { *m = GetClientInitConfigResp{} } -func (m *GetClientInitConfigResp) String() string { return proto.CompactTextString(m) } -func (*GetClientInitConfigResp) ProtoMessage() {} -func (*GetClientInitConfigResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{47} +func (m *GetUserStatisticsResp) Reset() { *m = GetUserStatisticsResp{} } +func (m *GetUserStatisticsResp) String() string { return proto.CompactTextString(m) } +func (*GetUserStatisticsResp) ProtoMessage() {} +func (*GetUserStatisticsResp) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{18} } -func (m *GetClientInitConfigResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClientInitConfigResp.Unmarshal(m, b) +func (m *GetUserStatisticsResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetUserStatisticsResp.Unmarshal(m, b) } -func (m *GetClientInitConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClientInitConfigResp.Marshal(b, m, deterministic) +func (m *GetUserStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetUserStatisticsResp.Marshal(b, m, deterministic) } -func (dst *GetClientInitConfigResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClientInitConfigResp.Merge(dst, src) +func (dst *GetUserStatisticsResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserStatisticsResp.Merge(dst, src) } -func (m *GetClientInitConfigResp) XXX_Size() int { - return xxx_messageInfo_GetClientInitConfigResp.Size(m) +func (m *GetUserStatisticsResp) XXX_Size() int { + return xxx_messageInfo_GetUserStatisticsResp.Size(m) } -func (m *GetClientInitConfigResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetClientInitConfigResp.DiscardUnknown(m) +func (m *GetUserStatisticsResp) XXX_DiscardUnknown() { + xxx_messageInfo_GetUserStatisticsResp.DiscardUnknown(m) } -var xxx_messageInfo_GetClientInitConfigResp proto.InternalMessageInfo +var xxx_messageInfo_GetUserStatisticsResp proto.InternalMessageInfo -func (m *GetClientInitConfigResp) GetCommonResp() *CommonResp { +func (m *GetUserStatisticsResp) GetIncreaseUserNum() int32 { if m != nil { - return m.CommonResp + return m.IncreaseUserNum } - return nil -} - -type SetClientInitConfigReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - DiscoverPageURL string `protobuf:"bytes,2,opt,name=discoverPageURL" json:"discoverPageURL,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SetClientInitConfigReq) Reset() { *m = SetClientInitConfigReq{} } -func (m *SetClientInitConfigReq) String() string { return proto.CompactTextString(m) } -func (*SetClientInitConfigReq) ProtoMessage() {} -func (*SetClientInitConfigReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{48} -} -func (m *SetClientInitConfigReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetClientInitConfigReq.Unmarshal(m, b) -} -func (m *SetClientInitConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetClientInitConfigReq.Marshal(b, m, deterministic) -} -func (dst *SetClientInitConfigReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetClientInitConfigReq.Merge(dst, src) -} -func (m *SetClientInitConfigReq) XXX_Size() int { - return xxx_messageInfo_SetClientInitConfigReq.Size(m) -} -func (m *SetClientInitConfigReq) XXX_DiscardUnknown() { - xxx_messageInfo_SetClientInitConfigReq.DiscardUnknown(m) + return 0 } -var xxx_messageInfo_SetClientInitConfigReq proto.InternalMessageInfo - -func (m *SetClientInitConfigReq) GetOperationID() string { +func (m *GetUserStatisticsResp) GetActiveUserNum() int32 { if m != nil { - return m.OperationID + return m.ActiveUserNum } - return "" + return 0 } -func (m *SetClientInitConfigReq) GetDiscoverPageURL() string { +func (m *GetUserStatisticsResp) GetTotalUserNum() int32 { if m != nil { - return m.DiscoverPageURL + return m.TotalUserNum } - return "" + return 0 } -type SetClientInitConfigResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (m *GetUserStatisticsResp) GetIncreaseUserNumList() []*DateNumList { + if m != nil { + return m.IncreaseUserNumList + } + return nil } -func (m *SetClientInitConfigResp) Reset() { *m = SetClientInitConfigResp{} } -func (m *SetClientInitConfigResp) String() string { return proto.CompactTextString(m) } -func (*SetClientInitConfigResp) ProtoMessage() {} -func (*SetClientInitConfigResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{49} -} -func (m *SetClientInitConfigResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetClientInitConfigResp.Unmarshal(m, b) -} -func (m *SetClientInitConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetClientInitConfigResp.Marshal(b, m, deterministic) -} -func (dst *SetClientInitConfigResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetClientInitConfigResp.Merge(dst, src) -} -func (m *SetClientInitConfigResp) XXX_Size() int { - return xxx_messageInfo_SetClientInitConfigResp.Size(m) -} -func (m *SetClientInitConfigResp) XXX_DiscardUnknown() { - xxx_messageInfo_SetClientInitConfigResp.DiscardUnknown(m) +func (m *GetUserStatisticsResp) GetActiveUserNumList() []*DateNumList { + if m != nil { + return m.ActiveUserNumList + } + return nil } -var xxx_messageInfo_SetClientInitConfigResp proto.InternalMessageInfo - -func (m *SetClientInitConfigResp) GetCommonResp() *CommonResp { +func (m *GetUserStatisticsResp) GetTotalUserNumList() []*DateNumList { if m != nil { - return m.CommonResp + return m.TotalUserNumList } return nil } @@ -2739,7 +1121,7 @@ func (m *GetUserFriendsReq) Reset() { *m = GetUserFriendsReq{} } func (m *GetUserFriendsReq) String() string { return proto.CompactTextString(m) } func (*GetUserFriendsReq) ProtoMessage() {} func (*GetUserFriendsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{50} + return fileDescriptor_admin_cms_d71cb129508715a2, []int{19} } func (m *GetUserFriendsReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserFriendsReq.Unmarshal(m, b) @@ -2795,20 +1177,18 @@ func (m *GetUserFriendsReq) GetPagination() *sdk_ws.RequestPagination { } type GetUserFriendsResp struct { - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,1,opt,name=pagination" json:"pagination,omitempty"` - FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,2,rep,name=friendInfoList" json:"friendInfoList,omitempty"` - FriendNums int32 `protobuf:"varint,3,opt,name=friendNums" json:"friendNums,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,2,rep,name=friendInfoList" json:"friendInfoList,omitempty"` + FriendNums int32 `protobuf:"varint,3,opt,name=friendNums" json:"friendNums,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *GetUserFriendsResp) Reset() { *m = GetUserFriendsResp{} } func (m *GetUserFriendsResp) String() string { return proto.CompactTextString(m) } func (*GetUserFriendsResp) ProtoMessage() {} func (*GetUserFriendsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{51} + return fileDescriptor_admin_cms_d71cb129508715a2, []int{20} } func (m *GetUserFriendsResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserFriendsResp.Unmarshal(m, b) @@ -2828,13 +1208,6 @@ func (m *GetUserFriendsResp) XXX_DiscardUnknown() { var xxx_messageInfo_GetUserFriendsResp proto.InternalMessageInfo -func (m *GetUserFriendsResp) GetPagination() *sdk_ws.ResponsePagination { - if m != nil { - return m.Pagination - } - return nil -} - func (m *GetUserFriendsResp) GetFriendInfoList() []*sdk_ws.FriendInfo { if m != nil { return m.FriendInfoList @@ -2849,15 +1222,7 @@ func (m *GetUserFriendsResp) GetFriendNums() int32 { return 0 } -func (m *GetUserFriendsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - type GetUserIDByEmailAndPhoneNumberReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"` PhoneNumber string `protobuf:"bytes,3,opt,name=phoneNumber" json:"phoneNumber,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -2869,7 +1234,7 @@ func (m *GetUserIDByEmailAndPhoneNumberReq) Reset() { *m = GetUserIDByEm func (m *GetUserIDByEmailAndPhoneNumberReq) String() string { return proto.CompactTextString(m) } func (*GetUserIDByEmailAndPhoneNumberReq) ProtoMessage() {} func (*GetUserIDByEmailAndPhoneNumberReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{52} + return fileDescriptor_admin_cms_d71cb129508715a2, []int{21} } func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.Unmarshal(m, b) @@ -2889,13 +1254,6 @@ func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_DiscardUnknown() { var xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq proto.InternalMessageInfo -func (m *GetUserIDByEmailAndPhoneNumberReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - func (m *GetUserIDByEmailAndPhoneNumberReq) GetEmail() string { if m != nil { return m.Email @@ -2911,18 +1269,17 @@ func (m *GetUserIDByEmailAndPhoneNumberReq) GetPhoneNumber() string { } type GetUserIDByEmailAndPhoneNumberResp struct { - UserIDList []string `protobuf:"bytes,1,rep,name=userIDList" json:"userIDList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UserIDList []string `protobuf:"bytes,1,rep,name=userIDList" json:"userIDList,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *GetUserIDByEmailAndPhoneNumberResp) Reset() { *m = GetUserIDByEmailAndPhoneNumberResp{} } func (m *GetUserIDByEmailAndPhoneNumberResp) String() string { return proto.CompactTextString(m) } func (*GetUserIDByEmailAndPhoneNumberResp) ProtoMessage() {} func (*GetUserIDByEmailAndPhoneNumberResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{53} + return fileDescriptor_admin_cms_d71cb129508715a2, []int{22} } func (m *GetUserIDByEmailAndPhoneNumberResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.Unmarshal(m, b) @@ -2949,25 +1306,101 @@ func (m *GetUserIDByEmailAndPhoneNumberResp) GetUserIDList() []string { return nil } -func (m *GetUserIDByEmailAndPhoneNumberResp) GetCommonResp() *CommonResp { +type GetUserTokenReq struct { + UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` + PlatformID int32 `protobuf:"varint,2,opt,name=platformID" json:"platformID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetUserTokenReq) Reset() { *m = GetUserTokenReq{} } +func (m *GetUserTokenReq) String() string { return proto.CompactTextString(m) } +func (*GetUserTokenReq) ProtoMessage() {} +func (*GetUserTokenReq) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{23} +} +func (m *GetUserTokenReq) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetUserTokenReq.Unmarshal(m, b) +} +func (m *GetUserTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetUserTokenReq.Marshal(b, m, deterministic) +} +func (dst *GetUserTokenReq) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserTokenReq.Merge(dst, src) +} +func (m *GetUserTokenReq) XXX_Size() int { + return xxx_messageInfo_GetUserTokenReq.Size(m) +} +func (m *GetUserTokenReq) XXX_DiscardUnknown() { + xxx_messageInfo_GetUserTokenReq.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUserTokenReq proto.InternalMessageInfo + +func (m *GetUserTokenReq) GetUserID() string { if m != nil { - return m.CommonResp + return m.UserID } - return nil + return "" +} + +func (m *GetUserTokenReq) GetPlatformID() int32 { + if m != nil { + return m.PlatformID + } + return 0 +} + +type GetUserTokenResp struct { + Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` + ExpTime int64 `protobuf:"varint,2,opt,name=expTime" json:"expTime,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetUserTokenResp) Reset() { *m = GetUserTokenResp{} } +func (m *GetUserTokenResp) String() string { return proto.CompactTextString(m) } +func (*GetUserTokenResp) ProtoMessage() {} +func (*GetUserTokenResp) Descriptor() ([]byte, []int) { + return fileDescriptor_admin_cms_d71cb129508715a2, []int{24} +} +func (m *GetUserTokenResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetUserTokenResp.Unmarshal(m, b) +} +func (m *GetUserTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetUserTokenResp.Marshal(b, m, deterministic) +} +func (dst *GetUserTokenResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserTokenResp.Merge(dst, src) +} +func (m *GetUserTokenResp) XXX_Size() int { + return xxx_messageInfo_GetUserTokenResp.Size(m) +} +func (m *GetUserTokenResp) XXX_DiscardUnknown() { + xxx_messageInfo_GetUserTokenResp.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUserTokenResp proto.InternalMessageInfo + +func (m *GetUserTokenResp) GetToken() string { + if m != nil { + return m.Token + } + return "" +} + +func (m *GetUserTokenResp) GetExpTime() int64 { + if m != nil { + return m.ExpTime + } + return 0 } func init() { - proto.RegisterType((*CommonResp)(nil), "admin_cms.CommonResp") proto.RegisterType((*AdminLoginReq)(nil), "admin_cms.AdminLoginReq") proto.RegisterType((*AdminLoginResp)(nil), "admin_cms.AdminLoginResp") - proto.RegisterType((*GetUserTokenReq)(nil), "admin_cms.GetUserTokenReq") - proto.RegisterType((*GetUserTokenResp)(nil), "admin_cms.GetUserTokenResp") - proto.RegisterType((*AddUserRegisterAddFriendIDListReq)(nil), "admin_cms.AddUserRegisterAddFriendIDListReq") - proto.RegisterType((*AddUserRegisterAddFriendIDListResp)(nil), "admin_cms.AddUserRegisterAddFriendIDListResp") - proto.RegisterType((*ReduceUserRegisterAddFriendIDListReq)(nil), "admin_cms.ReduceUserRegisterAddFriendIDListReq") - proto.RegisterType((*ReduceUserRegisterAddFriendIDListResp)(nil), "admin_cms.ReduceUserRegisterAddFriendIDListResp") - proto.RegisterType((*GetUserRegisterAddFriendIDListReq)(nil), "admin_cms.GetUserRegisterAddFriendIDListReq") - proto.RegisterType((*GetUserRegisterAddFriendIDListResp)(nil), "admin_cms.GetUserRegisterAddFriendIDListResp") proto.RegisterType((*GetChatLogsReq)(nil), "admin_cms.GetChatLogsReq") proto.RegisterType((*ChatLog)(nil), "admin_cms.ChatLog") proto.RegisterType((*GetChatLogsResp)(nil), "admin_cms.GetChatLogsResp") @@ -2985,32 +1418,12 @@ func init() { proto.RegisterType((*GetGroupStatisticsResp)(nil), "admin_cms.GetGroupStatisticsResp") proto.RegisterType((*GetUserStatisticsReq)(nil), "admin_cms.GetUserStatisticsReq") proto.RegisterType((*GetUserStatisticsResp)(nil), "admin_cms.GetUserStatisticsResp") - proto.RegisterType((*GenerateInvitationCodeReq)(nil), "admin_cms.GenerateInvitationCodeReq") - proto.RegisterType((*GenerateInvitationCodeResp)(nil), "admin_cms.GenerateInvitationCodeResp") - proto.RegisterType((*GetInvitationCodesReq)(nil), "admin_cms.GetInvitationCodesReq") - proto.RegisterType((*InvitationCode)(nil), "admin_cms.invitationCode") - proto.RegisterType((*GetInvitationCodesResp)(nil), "admin_cms.GetInvitationCodesResp") - proto.RegisterType((*QueryIPRegisterReq)(nil), "admin_cms.QueryIPRegisterReq") - proto.RegisterType((*QueryIPRegisterResp)(nil), "admin_cms.QueryIPRegisterResp") - proto.RegisterType((*AddIPLimitReq)(nil), "admin_cms.AddIPLimitReq") - proto.RegisterType((*AddIPLimitResp)(nil), "admin_cms.AddIPLimitResp") - proto.RegisterType((*RemoveIPLimitReq)(nil), "admin_cms.RemoveIPLimitReq") - proto.RegisterType((*RemoveIPLimitResp)(nil), "admin_cms.RemoveIPLimitResp") - proto.RegisterType((*QueryUserIDIPLimitLoginReq)(nil), "admin_cms.QueryUserIDIPLimitLoginReq") - proto.RegisterType((*UserIPLimit)(nil), "admin_cms.UserIPLimit") - proto.RegisterType((*QueryUserIDIPLimitLoginResp)(nil), "admin_cms.QueryUserIDIPLimitLoginResp") - proto.RegisterType((*AddUserIPLimitLoginReq)(nil), "admin_cms.AddUserIPLimitLoginReq") - proto.RegisterType((*AddUserIPLimitLoginResp)(nil), "admin_cms.AddUserIPLimitLoginResp") - proto.RegisterType((*RemoveUserIPLimitReq)(nil), "admin_cms.RemoveUserIPLimitReq") - proto.RegisterType((*RemoveUserIPLimitResp)(nil), "admin_cms.RemoveUserIPLimitResp") - proto.RegisterType((*GetClientInitConfigReq)(nil), "admin_cms.GetClientInitConfigReq") - proto.RegisterType((*GetClientInitConfigResp)(nil), "admin_cms.GetClientInitConfigResp") - proto.RegisterType((*SetClientInitConfigReq)(nil), "admin_cms.SetClientInitConfigReq") - proto.RegisterType((*SetClientInitConfigResp)(nil), "admin_cms.SetClientInitConfigResp") proto.RegisterType((*GetUserFriendsReq)(nil), "admin_cms.GetUserFriendsReq") proto.RegisterType((*GetUserFriendsResp)(nil), "admin_cms.GetUserFriendsResp") proto.RegisterType((*GetUserIDByEmailAndPhoneNumberReq)(nil), "admin_cms.GetUserIDByEmailAndPhoneNumberReq") proto.RegisterType((*GetUserIDByEmailAndPhoneNumberResp)(nil), "admin_cms.GetUserIDByEmailAndPhoneNumberResp") + proto.RegisterType((*GetUserTokenReq)(nil), "admin_cms.GetUserTokenReq") + proto.RegisterType((*GetUserTokenResp)(nil), "admin_cms.GetUserTokenResp") } // Reference imports to suppress errors if they are not otherwise used. @@ -3025,25 +1438,12 @@ const _ = grpc.SupportPackageIsVersion4 type AdminCMSClient interface { AdminLogin(ctx context.Context, in *AdminLoginReq, opts ...grpc.CallOption) (*AdminLoginResp, error) - AddUserRegisterAddFriendIDList(ctx context.Context, in *AddUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*AddUserRegisterAddFriendIDListResp, error) - ReduceUserRegisterAddFriendIDList(ctx context.Context, in *ReduceUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*ReduceUserRegisterAddFriendIDListResp, error) - GetUserRegisterAddFriendIDList(ctx context.Context, in *GetUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*GetUserRegisterAddFriendIDListResp, error) GetChatLogs(ctx context.Context, in *GetChatLogsReq, opts ...grpc.CallOption) (*GetChatLogsResp, error) GetActiveUser(ctx context.Context, in *GetActiveUserReq, opts ...grpc.CallOption) (*GetActiveUserResp, error) GetActiveGroup(ctx context.Context, in *GetActiveGroupReq, opts ...grpc.CallOption) (*GetActiveGroupResp, error) GetMessageStatistics(ctx context.Context, in *GetMessageStatisticsReq, opts ...grpc.CallOption) (*GetMessageStatisticsResp, error) GetGroupStatistics(ctx context.Context, in *GetGroupStatisticsReq, opts ...grpc.CallOption) (*GetGroupStatisticsResp, error) GetUserStatistics(ctx context.Context, in *GetUserStatisticsReq, opts ...grpc.CallOption) (*GetUserStatisticsResp, error) - GenerateInvitationCode(ctx context.Context, in *GenerateInvitationCodeReq, opts ...grpc.CallOption) (*GenerateInvitationCodeResp, error) - GetInvitationCodes(ctx context.Context, in *GetInvitationCodesReq, opts ...grpc.CallOption) (*GetInvitationCodesResp, error) - QueryIPRegister(ctx context.Context, in *QueryIPRegisterReq, opts ...grpc.CallOption) (*QueryIPRegisterResp, error) - AddIPLimit(ctx context.Context, in *AddIPLimitReq, opts ...grpc.CallOption) (*AddIPLimitResp, error) - RemoveIPLimit(ctx context.Context, in *RemoveIPLimitReq, opts ...grpc.CallOption) (*RemoveIPLimitResp, error) - QueryUserIDIPLimitLogin(ctx context.Context, in *QueryUserIDIPLimitLoginReq, opts ...grpc.CallOption) (*QueryUserIDIPLimitLoginResp, error) - AddUserIPLimitLogin(ctx context.Context, in *AddUserIPLimitLoginReq, opts ...grpc.CallOption) (*AddUserIPLimitLoginResp, error) - RemoveUserIPLimit(ctx context.Context, in *RemoveUserIPLimitReq, opts ...grpc.CallOption) (*RemoveUserIPLimitResp, error) - GetClientInitConfig(ctx context.Context, in *GetClientInitConfigReq, opts ...grpc.CallOption) (*GetClientInitConfigResp, error) - SetClientInitConfig(ctx context.Context, in *SetClientInitConfigReq, opts ...grpc.CallOption) (*SetClientInitConfigResp, error) GetUserFriends(ctx context.Context, in *GetUserFriendsReq, opts ...grpc.CallOption) (*GetUserFriendsResp, error) GetUserIDByEmailAndPhoneNumber(ctx context.Context, in *GetUserIDByEmailAndPhoneNumberReq, opts ...grpc.CallOption) (*GetUserIDByEmailAndPhoneNumberResp, error) GetUserToken(ctx context.Context, in *GetUserTokenReq, opts ...grpc.CallOption) (*GetUserTokenResp, error) @@ -3059,34 +1459,7 @@ func NewAdminCMSClient(cc *grpc.ClientConn) AdminCMSClient { func (c *adminCMSClient) AdminLogin(ctx context.Context, in *AdminLoginReq, opts ...grpc.CallOption) (*AdminLoginResp, error) { out := new(AdminLoginResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AdminLogin", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) AddUserRegisterAddFriendIDList(ctx context.Context, in *AddUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*AddUserRegisterAddFriendIDListResp, error) { - out := new(AddUserRegisterAddFriendIDListResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AddUserRegisterAddFriendIDList", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) ReduceUserRegisterAddFriendIDList(ctx context.Context, in *ReduceUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*ReduceUserRegisterAddFriendIDListResp, error) { - out := new(ReduceUserRegisterAddFriendIDListResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/ReduceUserRegisterAddFriendIDList", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetUserRegisterAddFriendIDList(ctx context.Context, in *GetUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*GetUserRegisterAddFriendIDListResp, error) { - out := new(GetUserRegisterAddFriendIDListResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserRegisterAddFriendIDList", in, out, c.cc, opts...) + err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AdminLogin", in, out, c.cc, opts...) if err != nil { return nil, err } @@ -3147,96 +1520,6 @@ func (c *adminCMSClient) GetUserStatistics(ctx context.Context, in *GetUserStati return out, nil } -func (c *adminCMSClient) GenerateInvitationCode(ctx context.Context, in *GenerateInvitationCodeReq, opts ...grpc.CallOption) (*GenerateInvitationCodeResp, error) { - out := new(GenerateInvitationCodeResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GenerateInvitationCode", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetInvitationCodes(ctx context.Context, in *GetInvitationCodesReq, opts ...grpc.CallOption) (*GetInvitationCodesResp, error) { - out := new(GetInvitationCodesResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetInvitationCodes", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) QueryIPRegister(ctx context.Context, in *QueryIPRegisterReq, opts ...grpc.CallOption) (*QueryIPRegisterResp, error) { - out := new(QueryIPRegisterResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/QueryIPRegister", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) AddIPLimit(ctx context.Context, in *AddIPLimitReq, opts ...grpc.CallOption) (*AddIPLimitResp, error) { - out := new(AddIPLimitResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AddIPLimit", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) RemoveIPLimit(ctx context.Context, in *RemoveIPLimitReq, opts ...grpc.CallOption) (*RemoveIPLimitResp, error) { - out := new(RemoveIPLimitResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/RemoveIPLimit", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) QueryUserIDIPLimitLogin(ctx context.Context, in *QueryUserIDIPLimitLoginReq, opts ...grpc.CallOption) (*QueryUserIDIPLimitLoginResp, error) { - out := new(QueryUserIDIPLimitLoginResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/QueryUserIDIPLimitLogin", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) AddUserIPLimitLogin(ctx context.Context, in *AddUserIPLimitLoginReq, opts ...grpc.CallOption) (*AddUserIPLimitLoginResp, error) { - out := new(AddUserIPLimitLoginResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AddUserIPLimitLogin", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) RemoveUserIPLimit(ctx context.Context, in *RemoveUserIPLimitReq, opts ...grpc.CallOption) (*RemoveUserIPLimitResp, error) { - out := new(RemoveUserIPLimitResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/RemoveUserIPLimit", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetClientInitConfig(ctx context.Context, in *GetClientInitConfigReq, opts ...grpc.CallOption) (*GetClientInitConfigResp, error) { - out := new(GetClientInitConfigResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetClientInitConfig", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) SetClientInitConfig(ctx context.Context, in *SetClientInitConfigReq, opts ...grpc.CallOption) (*SetClientInitConfigResp, error) { - out := new(SetClientInitConfigResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/SetClientInitConfig", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *adminCMSClient) GetUserFriends(ctx context.Context, in *GetUserFriendsReq, opts ...grpc.CallOption) (*GetUserFriendsResp, error) { out := new(GetUserFriendsResp) err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserFriends", in, out, c.cc, opts...) @@ -3268,25 +1551,12 @@ func (c *adminCMSClient) GetUserToken(ctx context.Context, in *GetUserTokenReq, type AdminCMSServer interface { AdminLogin(context.Context, *AdminLoginReq) (*AdminLoginResp, error) - AddUserRegisterAddFriendIDList(context.Context, *AddUserRegisterAddFriendIDListReq) (*AddUserRegisterAddFriendIDListResp, error) - ReduceUserRegisterAddFriendIDList(context.Context, *ReduceUserRegisterAddFriendIDListReq) (*ReduceUserRegisterAddFriendIDListResp, error) - GetUserRegisterAddFriendIDList(context.Context, *GetUserRegisterAddFriendIDListReq) (*GetUserRegisterAddFriendIDListResp, error) GetChatLogs(context.Context, *GetChatLogsReq) (*GetChatLogsResp, error) GetActiveUser(context.Context, *GetActiveUserReq) (*GetActiveUserResp, error) GetActiveGroup(context.Context, *GetActiveGroupReq) (*GetActiveGroupResp, error) GetMessageStatistics(context.Context, *GetMessageStatisticsReq) (*GetMessageStatisticsResp, error) GetGroupStatistics(context.Context, *GetGroupStatisticsReq) (*GetGroupStatisticsResp, error) GetUserStatistics(context.Context, *GetUserStatisticsReq) (*GetUserStatisticsResp, error) - GenerateInvitationCode(context.Context, *GenerateInvitationCodeReq) (*GenerateInvitationCodeResp, error) - GetInvitationCodes(context.Context, *GetInvitationCodesReq) (*GetInvitationCodesResp, error) - QueryIPRegister(context.Context, *QueryIPRegisterReq) (*QueryIPRegisterResp, error) - AddIPLimit(context.Context, *AddIPLimitReq) (*AddIPLimitResp, error) - RemoveIPLimit(context.Context, *RemoveIPLimitReq) (*RemoveIPLimitResp, error) - QueryUserIDIPLimitLogin(context.Context, *QueryUserIDIPLimitLoginReq) (*QueryUserIDIPLimitLoginResp, error) - AddUserIPLimitLogin(context.Context, *AddUserIPLimitLoginReq) (*AddUserIPLimitLoginResp, error) - RemoveUserIPLimit(context.Context, *RemoveUserIPLimitReq) (*RemoveUserIPLimitResp, error) - GetClientInitConfig(context.Context, *GetClientInitConfigReq) (*GetClientInitConfigResp, error) - SetClientInitConfig(context.Context, *SetClientInitConfigReq) (*SetClientInitConfigResp, error) GetUserFriends(context.Context, *GetUserFriendsReq) (*GetUserFriendsResp, error) GetUserIDByEmailAndPhoneNumber(context.Context, *GetUserIDByEmailAndPhoneNumberReq) (*GetUserIDByEmailAndPhoneNumberResp, error) GetUserToken(context.Context, *GetUserTokenReq) (*GetUserTokenResp, error) @@ -3314,60 +1584,6 @@ func _AdminCMS_AdminLogin_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } -func _AdminCMS_AddUserRegisterAddFriendIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddUserRegisterAddFriendIDListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).AddUserRegisterAddFriendIDList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/AddUserRegisterAddFriendIDList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).AddUserRegisterAddFriendIDList(ctx, req.(*AddUserRegisterAddFriendIDListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_ReduceUserRegisterAddFriendIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReduceUserRegisterAddFriendIDListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).ReduceUserRegisterAddFriendIDList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/ReduceUserRegisterAddFriendIDList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).ReduceUserRegisterAddFriendIDList(ctx, req.(*ReduceUserRegisterAddFriendIDListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetUserRegisterAddFriendIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserRegisterAddFriendIDListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetUserRegisterAddFriendIDList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetUserRegisterAddFriendIDList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetUserRegisterAddFriendIDList(ctx, req.(*GetUserRegisterAddFriendIDListReq)) - } - return interceptor(ctx, in, info, handler) -} - func _AdminCMS_GetChatLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetChatLogsReq) if err := dec(in); err != nil { @@ -3476,186 +1692,6 @@ func _AdminCMS_GetUserStatistics_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } -func _AdminCMS_GenerateInvitationCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GenerateInvitationCodeReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GenerateInvitationCode(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GenerateInvitationCode", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GenerateInvitationCode(ctx, req.(*GenerateInvitationCodeReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetInvitationCodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInvitationCodesReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetInvitationCodes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetInvitationCodes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetInvitationCodes(ctx, req.(*GetInvitationCodesReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_QueryIPRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryIPRegisterReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).QueryIPRegister(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/QueryIPRegister", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).QueryIPRegister(ctx, req.(*QueryIPRegisterReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_AddIPLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddIPLimitReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).AddIPLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/AddIPLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).AddIPLimit(ctx, req.(*AddIPLimitReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_RemoveIPLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveIPLimitReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).RemoveIPLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/RemoveIPLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).RemoveIPLimit(ctx, req.(*RemoveIPLimitReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_QueryUserIDIPLimitLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryUserIDIPLimitLoginReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).QueryUserIDIPLimitLogin(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/QueryUserIDIPLimitLogin", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).QueryUserIDIPLimitLogin(ctx, req.(*QueryUserIDIPLimitLoginReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_AddUserIPLimitLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddUserIPLimitLoginReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).AddUserIPLimitLogin(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/AddUserIPLimitLogin", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).AddUserIPLimitLogin(ctx, req.(*AddUserIPLimitLoginReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_RemoveUserIPLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveUserIPLimitReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).RemoveUserIPLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/RemoveUserIPLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).RemoveUserIPLimit(ctx, req.(*RemoveUserIPLimitReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetClientInitConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClientInitConfigReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetClientInitConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetClientInitConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetClientInitConfig(ctx, req.(*GetClientInitConfigReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_SetClientInitConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetClientInitConfigReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).SetClientInitConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/SetClientInitConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).SetClientInitConfig(ctx, req.(*SetClientInitConfigReq)) - } - return interceptor(ctx, in, info, handler) -} - func _AdminCMS_GetUserFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetUserFriendsReq) if err := dec(in); err != nil { @@ -3718,18 +1754,6 @@ var _AdminCMS_serviceDesc = grpc.ServiceDesc{ MethodName: "AdminLogin", Handler: _AdminCMS_AdminLogin_Handler, }, - { - MethodName: "AddUserRegisterAddFriendIDList", - Handler: _AdminCMS_AddUserRegisterAddFriendIDList_Handler, - }, - { - MethodName: "ReduceUserRegisterAddFriendIDList", - Handler: _AdminCMS_ReduceUserRegisterAddFriendIDList_Handler, - }, - { - MethodName: "GetUserRegisterAddFriendIDList", - Handler: _AdminCMS_GetUserRegisterAddFriendIDList_Handler, - }, { MethodName: "GetChatLogs", Handler: _AdminCMS_GetChatLogs_Handler, @@ -3754,46 +1778,6 @@ var _AdminCMS_serviceDesc = grpc.ServiceDesc{ MethodName: "GetUserStatistics", Handler: _AdminCMS_GetUserStatistics_Handler, }, - { - MethodName: "GenerateInvitationCode", - Handler: _AdminCMS_GenerateInvitationCode_Handler, - }, - { - MethodName: "GetInvitationCodes", - Handler: _AdminCMS_GetInvitationCodes_Handler, - }, - { - MethodName: "QueryIPRegister", - Handler: _AdminCMS_QueryIPRegister_Handler, - }, - { - MethodName: "AddIPLimit", - Handler: _AdminCMS_AddIPLimit_Handler, - }, - { - MethodName: "RemoveIPLimit", - Handler: _AdminCMS_RemoveIPLimit_Handler, - }, - { - MethodName: "QueryUserIDIPLimitLogin", - Handler: _AdminCMS_QueryUserIDIPLimitLogin_Handler, - }, - { - MethodName: "AddUserIPLimitLogin", - Handler: _AdminCMS_AddUserIPLimitLogin_Handler, - }, - { - MethodName: "RemoveUserIPLimit", - Handler: _AdminCMS_RemoveUserIPLimit_Handler, - }, - { - MethodName: "GetClientInitConfig", - Handler: _AdminCMS_GetClientInitConfig_Handler, - }, - { - MethodName: "SetClientInitConfig", - Handler: _AdminCMS_SetClientInitConfig_Handler, - }, { MethodName: "GetUserFriends", Handler: _AdminCMS_GetUserFriends_Handler, @@ -3812,153 +1796,97 @@ var _AdminCMS_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("admin_cms/admin_cms.proto", fileDescriptor_admin_cms_49bc09b1772ecee1) -} - -var fileDescriptor_admin_cms_49bc09b1772ecee1 = []byte{ - // 2301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x1a, 0x4d, 0x6f, 0x1c, 0x49, - 0x55, 0x3d, 0x1f, 0xfe, 0x78, 0xfe, 0x2e, 0x3b, 0xce, 0xb8, 0xb3, 0x6b, 0xec, 0x26, 0x5e, 0x0c, - 0xda, 0xd8, 0xc8, 0x11, 0x97, 0x45, 0x0a, 0x72, 0x3c, 0xb1, 0x99, 0xc8, 0x76, 0x86, 0x9e, 0x78, - 0x25, 0x60, 0xb5, 0xa6, 0x33, 0x53, 0x9e, 0xb4, 0xec, 0xe9, 0xae, 0x74, 0xb5, 0xbd, 0xb1, 0x56, - 0x7b, 0xdd, 0x0b, 0x17, 0x24, 0x24, 0x0e, 0x9c, 0xb9, 0x71, 0xe0, 0x80, 0xc4, 0x11, 0x89, 0xdf, - 0xc1, 0x21, 0x42, 0xfc, 0x0a, 0x6e, 0xa8, 0xaa, 0xfa, 0xa3, 0xaa, 0xba, 0x67, 0xa6, 0xd3, 0x8e, - 0x72, 0x9b, 0xf7, 0xfa, 0xd5, 0xfb, 0xae, 0x57, 0xaf, 0x5e, 0x0d, 0xac, 0x39, 0xbd, 0x81, 0xeb, - 0x9d, 0x77, 0x07, 0x74, 0x37, 0xf9, 0xb5, 0x43, 0x02, 0x3f, 0xf4, 0xd1, 0x74, 0x82, 0x30, 0xb7, - 0x5f, 0x10, 0xec, 0x3d, 0x6a, 0x9d, 0x3c, 0xea, 0xe0, 0xe0, 0x06, 0x07, 0xbb, 0xe4, 0xb2, 0xbf, - 0xcb, 0x89, 0x76, 0x69, 0xef, 0xf2, 0xfc, 0x1b, 0xba, 0xfb, 0x4d, 0xb4, 0xc8, 0x7a, 0x02, 0x70, - 0xe0, 0x0f, 0x06, 0xbe, 0x67, 0x63, 0x4a, 0x50, 0x03, 0x26, 0x71, 0x10, 0x1c, 0xf8, 0x3d, 0xdc, - 0x30, 0x36, 0x8c, 0xed, 0xba, 0x1d, 0x83, 0x68, 0x15, 0x26, 0x70, 0x10, 0x9c, 0xd0, 0x7e, 0xa3, - 0xb2, 0x61, 0x6c, 0x4f, 0xdb, 0x11, 0x64, 0x75, 0x61, 0x6e, 0x9f, 0x89, 0x3d, 0xf6, 0xfb, 0xae, - 0x67, 0xe3, 0x37, 0x68, 0x03, 0x66, 0x7c, 0x82, 0x03, 0x27, 0x74, 0x7d, 0xaf, 0xd5, 0xe4, 0x6c, - 0xa6, 0x6d, 0x19, 0xc5, 0x84, 0x70, 0x4d, 0x5b, 0xcd, 0x88, 0x57, 0x0c, 0x32, 0x21, 0x14, 0x77, - 0x03, 0x1c, 0x36, 0xaa, 0x42, 0x88, 0x80, 0xac, 0x3f, 0x1a, 0x30, 0x2f, 0x4b, 0xa1, 0x04, 0xad, - 0x40, 0x3d, 0xf4, 0x2f, 0xb1, 0x17, 0x09, 0x10, 0x00, 0x32, 0x61, 0xea, 0x9a, 0xe2, 0xe0, 0xd4, - 0x19, 0xe0, 0x88, 0x77, 0x02, 0x33, 0xb1, 0x17, 0x4e, 0x17, 0x9f, 0xd9, 0xc7, 0x11, 0xf7, 0x18, - 0x44, 0x3f, 0x03, 0xe8, 0x26, 0x3e, 0x68, 0xd4, 0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0x70, 0x87, - 0xf2, 0x72, 0x72, 0xee, 0x10, 0xf7, 0x9c, 0x38, 0x81, 0x33, 0xa0, 0x3b, 0x36, 0x7e, 0x73, 0x8d, - 0x69, 0xd8, 0x4e, 0x68, 0x6d, 0x69, 0x9d, 0xf5, 0x5f, 0x03, 0xac, 0x71, 0xda, 0x50, 0x82, 0x7e, - 0x01, 0xb3, 0xdc, 0x45, 0xde, 0x85, 0xcf, 0xdd, 0x66, 0x6c, 0x54, 0xb7, 0x67, 0xf6, 0x1e, 0xe4, - 0x88, 0x3b, 0x8b, 0xc8, 0x6c, 0x65, 0x01, 0x7a, 0x96, 0xa3, 0xed, 0x56, 0xae, 0xb6, 0x94, 0xf8, - 0x1e, 0xc5, 0xf9, 0xea, 0x6a, 0x3e, 0xaf, 0x16, 0xf5, 0xf9, 0x3f, 0x2b, 0x30, 0x7f, 0x84, 0xc3, - 0x83, 0xd7, 0x4e, 0x78, 0xec, 0xf7, 0x29, 0x73, 0x70, 0x03, 0x26, 0xbb, 0xbe, 0x17, 0x62, 0x2f, - 0x8c, 0x9c, 0x1b, 0x83, 0xa2, 0xc6, 0x31, 0xeb, 0xe3, 0x02, 0x20, 0x20, 0x86, 0x0f, 0x70, 0xf7, - 0x26, 0xda, 0xfc, 0xd3, 0x76, 0x04, 0xb1, 0x92, 0xc6, 0x28, 0xf8, 0xc6, 0xac, 0x89, 0x92, 0x16, - 0xc3, 0x2c, 0x8c, 0x14, 0x53, 0xea, 0xfa, 0xde, 0xcb, 0x5b, 0x82, 0x1b, 0x75, 0x9e, 0x8c, 0x32, - 0x8a, 0x51, 0x44, 0x82, 0x39, 0xc5, 0x84, 0xa0, 0x90, 0x50, 0x5a, 0xa0, 0x27, 0xcb, 0x05, 0x5a, - 0x4f, 0xa8, 0xa9, 0x6c, 0x42, 0x99, 0x30, 0xe5, 0x93, 0x33, 0x51, 0xfa, 0xa6, 0x85, 0x1d, 0x31, - 0x6c, 0xfd, 0xad, 0x06, 0x93, 0x91, 0x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 0xe5, 0x47, 0x2b, 0x69, 0xca, 0xad, 0xe5, 0x39, 0xcc, - 0x29, 0x17, 0x07, 0x65, 0x17, 0xe8, 0x17, 0x13, 0x65, 0x17, 0x64, 0xef, 0x1b, 0xaf, 0xe1, 0xfe, - 0x90, 0x46, 0x1c, 0x6d, 0xe9, 0x96, 0xe4, 0x5e, 0x2e, 0xcc, 0xcf, 0x8a, 0x90, 0x51, 0x82, 0xbe, - 0x82, 0xe5, 0x9c, 0xe6, 0x17, 0x6d, 0x66, 0xeb, 0xa9, 0x2e, 0xc1, 0x1a, 0x47, 0x22, 0x52, 0x38, - 0xd3, 0xa6, 0x2a, 0x29, 0x9c, 0xd7, 0x26, 0x2b, 0x29, 0x9c, 0xdf, 0xe5, 0x7e, 0x05, 0xcb, 0x39, - 0x2d, 0x27, 0xd2, 0x52, 0x27, 0xa7, 0x81, 0x34, 0xad, 0x71, 0x24, 0x82, 0x7b, 0x67, 0x0c, 0xf7, - 0xce, 0x78, 0xee, 0xc3, 0x7a, 0x4b, 0x51, 0xe1, 0xa4, 0x0e, 0x4a, 0xaf, 0x70, 0x6a, 0xfb, 0xa8, - 0x57, 0x38, 0xbd, 0xf5, 0x4a, 0x4f, 0x90, 0x21, 0x6d, 0x41, 0xde, 0x09, 0x32, 0xbc, 0x81, 0xc9, - 0x3b, 0x41, 0x46, 0xf5, 0x1b, 0x47, 0x30, 0x2b, 0xff, 0xb1, 0x09, 0x99, 0xd9, 0xe5, 0xf1, 0xdf, - 0xab, 0xcc, 0x07, 0x43, 0xbf, 0x51, 0xf2, 0xf4, 0x47, 0xbf, 0xd9, 0x7a, 0x41, 0xb0, 0x77, 0xde, - 0x3a, 0x91, 0xfe, 0xee, 0x96, 0xd0, 0xff, 0x3c, 0xf9, 0xf5, 0x6a, 0x82, 0x7f, 0x7a, 0xfc, 0xff, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x1c, 0xab, 0x91, 0x4b, 0x27, 0x00, 0x00, + proto.RegisterFile("admin_cms/admin_cms.proto", fileDescriptor_admin_cms_d71cb129508715a2) +} + +var fileDescriptor_admin_cms_d71cb129508715a2 = []byte{ + // 1401 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x5f, 0x4f, 0x1b, 0x47, + 0x10, 0x97, 0x6d, 0x6c, 0xf0, 0x18, 0x08, 0x6c, 0x48, 0x7a, 0x71, 0xfe, 0xd4, 0xb9, 0xa6, 0xad, + 0x5b, 0x25, 0x20, 0x91, 0xc7, 0x4a, 0x91, 0x20, 0x0e, 0xae, 0x23, 0x20, 0xe8, 0x20, 0xad, 0xd2, + 0x56, 0x45, 0x17, 0xb3, 0x38, 0x27, 0xf0, 0xdd, 0xe6, 0x76, 0x21, 0x44, 0x55, 0xa5, 0x3e, 0xf7, + 0xcb, 0xf4, 0xf3, 0xf4, 0x29, 0x5f, 0xa4, 0x0f, 0xd5, 0xcc, 0xee, 0xdd, 0xed, 0xdd, 0xd9, 0x90, + 0x56, 0x79, 0xbb, 0xf9, 0xed, 0xcc, 0xec, 0xcc, 0x6f, 0x67, 0x67, 0xc7, 0x86, 0x5b, 0xfe, 0xd1, + 0x38, 0x08, 0x0f, 0x87, 0x63, 0xb9, 0x96, 0x7e, 0xad, 0x8a, 0x38, 0x52, 0x11, 0x6b, 0xa6, 0x40, + 0xbb, 0xfb, 0x42, 0xf0, 0xf0, 0xd1, 0x60, 0xe7, 0xd1, 0x3e, 0x8f, 0xcf, 0x79, 0xbc, 0x26, 0x4e, + 0x46, 0x6b, 0xa4, 0xb4, 0x26, 0x8f, 0x4e, 0x0e, 0xdf, 0xc9, 0xb5, 0x77, 0xc6, 0xc8, 0xdd, 0x80, + 0x85, 0x0d, 0x34, 0xdb, 0x8e, 0x46, 0x41, 0xe8, 0xf1, 0xb7, 0xcc, 0x81, 0x59, 0xf2, 0x33, 0xe8, + 0x39, 0xd5, 0x4e, 0xa5, 0xd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0xf7, 0x92, 0x55, 0x29, 0xd8, + 0x21, 0x75, 0xe7, 0xd2, 0x04, 0xc0, 0xdc, 0xbc, 0xd9, 0xa4, 0xf1, 0xa3, 0xfd, 0xc5, 0x95, 0x3a, + 0x52, 0xb0, 0x57, 0x74, 0x81, 0x0a, 0x8f, 0x1f, 0xeb, 0xe4, 0x4d, 0xcb, 0xaf, 0x6e, 0xfb, 0xfe, + 0x15, 0x1a, 0x52, 0xb0, 0x1f, 0xd2, 0xe6, 0x63, 0x79, 0xfe, 0x3c, 0x6f, 0x57, 0x7a, 0x77, 0xda, + 0x9d, 0xcb, 0x15, 0x52, 0x8a, 0xad, 0x3b, 0x5f, 0xa4, 0x38, 0xdf, 0xef, 0x8a, 0x14, 0x17, 0x9b, + 0xc5, 0xef, 0x70, 0xef, 0xf2, 0x8b, 0xc6, 0x1e, 0x96, 0x1d, 0x4c, 0xbf, 0xf0, 0xed, 0x47, 0xff, + 0x41, 0x5b, 0x0a, 0xd6, 0x87, 0x79, 0xfb, 0x5a, 0xb1, 0x76, 0xd9, 0x3c, 0xb9, 0xba, 0xed, 0xdb, + 0x53, 0xd7, 0xa4, 0xd8, 0xfc, 0xfa, 0xa7, 0x2f, 0x5f, 0x08, 0x1e, 0x1e, 0x0e, 0x76, 0xac, 0x3f, + 0x51, 0x52, 0xfd, 0xef, 0xd2, 0xaf, 0xd7, 0x0d, 0x5a, 0x7a, 0xfc, 0x6f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x33, 0xc3, 0x25, 0x0e, 0xa1, 0x11, 0x00, 0x00, } diff --git a/pkg/proto/admin_cms/admin_cms.proto b/pkg/proto/admin_cms/admin_cms.proto index 40eb9910f..83c5dd2d1 100644 --- a/pkg/proto/admin_cms/admin_cms.proto +++ b/pkg/proto/admin_cms/admin_cms.proto @@ -92,7 +92,6 @@ message DateNumList { message GetMessageStatisticsReq { StatisticsReq StatisticsReq = 1; - string OperationID = 2; } @@ -101,12 +100,10 @@ message GetMessageStatisticsResp { int32 GroupMessageNum = 2; repeated DateNumList PrivateMessageNumList = 3; repeated DateNumList GroupMessageNumList = 4; - CommonResp commonResp = 5; } message GetGroupStatisticsReq { StatisticsReq StatisticsReq = 1; - string OperationID = 2; } @@ -115,7 +112,6 @@ message GetGroupStatisticsResp { int32 TotalGroupNum = 2; repeated DateNumList IncreaseGroupNumList = 3; repeated DateNumList TotalGroupNumList = 4; - CommonResp commonResp = 5; } message GetUserStatisticsReq {