|
@@ -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 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|