fix uncorrect args call.

pull/2393/head
Monet Lee 1 year ago
parent 686ccae18d
commit a421bd11bb

@ -30,6 +30,7 @@ import (
"github.com/google/uuid" "github.com/google/uuid"
"github.com/openimsdk/open-im-server/v3/pkg/common/servererrs" "github.com/openimsdk/open-im-server/v3/pkg/common/servererrs"
"github.com/openimsdk/protocol/sdkws"
"github.com/openimsdk/protocol/third" "github.com/openimsdk/protocol/third"
"github.com/openimsdk/tools/errs" "github.com/openimsdk/tools/errs"
"github.com/openimsdk/tools/log" "github.com/openimsdk/tools/log"
@ -290,7 +291,7 @@ func (t *thirdServer) apiAddress(prefix, name string) string {
func (t *thirdServer) DeleteOutdatedData(ctx context.Context, req *third.DeleteOutdatedDataReq) (*third.DeleteOutdatedDataResp, error) { func (t *thirdServer) DeleteOutdatedData(ctx context.Context, req *third.DeleteOutdatedDataReq) (*third.DeleteOutdatedDataResp, error) {
var conf config.Third var conf config.Third
expireTime := time.UnixMilli(req.ExpireTime) expireTime := time.UnixMilli(req.ExpireTime)
findPagination := &common.FindPagination{ findPagination := &sdkws.RequestPagination{
PageNumber: 1, PageNumber: 1,
ShowNumber: 1000, ShowNumber: 1000,
} }

@ -24,15 +24,3 @@ type GroupSimpleUserID struct {
Hash uint64 Hash uint64
MemberNum uint32 MemberNum uint32
} }
type FindPagination struct {
PageNumber int32
ShowNumber int32
}
func (f *FindPagination) GetPageNumber() int32 {
return f.PageNumber
}
func (f *FindPagination) GetShowNumber() int32 {
return f.ShowNumber
}

Loading…
Cancel
Save