From 4ea97ab23ff7ca69a4b3a357ba933515a9829896 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Tue, 13 Sep 2022 16:19:01 +0800 Subject: [PATCH] group cms --- internal/rpc/group/group.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/rpc/group/group.go b/internal/rpc/group/group.go index 32fb465e6..9c0eb6bc8 100644 --- a/internal/rpc/group/group.go +++ b/internal/rpc/group/group.go @@ -1373,6 +1373,7 @@ func (s *groupServer) GetGroups(_ context.Context, req *pbGroup.GetGroupsReq) (* return resp, nil } groupInfo.MemberCount = uint32(memberNum) + groupInfo.CreateTime = uint32(groupInfoDB.CreateTime.Unix()) resp.CMSGroups = append(resp.CMSGroups, &pbGroup.CMSGroup{GroupInfo: groupInfo, GroupOwnerUserName: groupMember.Nickname, GroupOwnerUserID: groupMember.UserID}) } else { groups, count, err := imdb.GetGroupsByName(req.GroupName, req.Pagination.PageNumber, req.Pagination.ShowNumber)