Browse Source

update

master
DengBiao 1 year ago
parent
commit
14a36a36ff
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      internal/logic/domain/group/repo/group_user_repo.go

+ 4
- 0
internal/logic/domain/group/repo/group_user_repo.go View File

@@ -1,6 +1,7 @@
package repo package repo


import ( import (
"gim/internal/business/comm/utils"
"gim/internal/logic/domain/group/model" "gim/internal/logic/domain/group/model"
"gim/pkg/db" "gim/pkg/db"
"gim/pkg/gerrors" "gim/pkg/gerrors"
@@ -44,6 +45,9 @@ func (*groupUserRepo) ListUserLimit(groupId, limit int64) ([]model.GroupUser, er
if err != nil { if err != nil {
return nil, gerrors.WrapError(err) return nil, gerrors.WrapError(err)
} }
utils.FilePutContents("ListUserLimit", utils.SerializeStr(map[string]interface{}{
"users": groupUsers,
}))
return groupUsers, nil return groupUsers, nil
} }




Loading…
Cancel
Save