From 14a36a36ff5407b49737db45cdc6498bbb59287b Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 24 Apr 2023 11:12:43 +0800 Subject: [PATCH] update --- internal/logic/domain/group/repo/group_user_repo.go | 4 ++++ 1 file changed, 4 insertions(+) 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 }