diff --git a/internal/logic/domain/group/repo/group_user_repo.go b/internal/logic/domain/group/repo/group_user_repo.go index 57a4c22..342aca9 100644 --- a/internal/logic/domain/group/repo/group_user_repo.go +++ b/internal/logic/domain/group/repo/group_user_repo.go @@ -1,6 +1,7 @@ package repo import ( + "gim/internal/business/comm/utils" "gim/internal/logic/domain/group/model" "gim/pkg/db" "gim/pkg/gerrors" @@ -44,6 +45,9 @@ func (*groupUserRepo) ListUserLimit(groupId, limit int64) ([]model.GroupUser, er if err != nil { return nil, gerrors.WrapError(err) } + utils.FilePutContents("ListUserLimit", utils.SerializeStr(map[string]interface{}{ + "users": groupUsers, + })) return groupUsers, nil }