mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-16 02:27:01 +08:00
test: log
This commit is contained in:
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")
|
||||
|
||||
1
pkg/common/db/cache/group.go
vendored
1
pkg/common/db/cache/group.go
vendored
@ -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…
x
Reference in New Issue
Block a user