mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 19:32:17 +08:00 
			
		
		
		
	fix uncorrect args call.
This commit is contained in:
		
							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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user