pull/857/head
withchao 2 years ago
parent d5f6aff938
commit 15c17a2cf1

@ -1362,7 +1362,6 @@ func (s *groupServer) SetGroupMemberInfo(ctx context.Context, req *pbGroup.SetGr
}
func (s *groupServer) GetGroupAbstractInfo(ctx context.Context, req *pbGroup.GetGroupAbstractInfoReq) (*pbGroup.GetGroupAbstractInfoResp, error) {
log.ZInfo(ctx, "GetGroupAbstractInfo", "req", req, "---------------------------")
resp := &pbGroup.GetGroupAbstractInfoResp{}
if len(req.GroupIDs) == 0 {
return nil, errs.ErrArgs.Wrap("groupIDs empty")

@ -335,6 +335,7 @@ func (g *GroupCacheRedis) GetGroupMembersHash(ctx context.Context, groupID strin
if err != nil {
return 0, err
}
log.ZInfo(ctx, "json hash data", "groupID", groupID, "data", string(val))
sum := md5.Sum(val)
code := binary.BigEndian.Uint64(sum[:])
log.ZInfo(ctx, "GetGroupMembersHash", "groupID", groupID, "hashCode", code, "num", len(members))

Loading…
Cancel
Save