This commit is contained in:
wangchuxiao
2023-03-10 11:42:06 +08:00
parent cfefc757af
commit f6600edea0
4 changed files with 27 additions and 42 deletions
+1 -1
View File
@@ -38,5 +38,5 @@ type UserModelInterface interface {
Take(ctx context.Context, userID string) (user *UserModel, err error)
// 获取用户信息 不存在,不返回错误
Page(ctx context.Context, pageNumber, showNumber int32) (users []*UserModel, count int64, err error)
PageUserID(ctx context.Context, pageNumber, showNumber int32) (userIDs []string, count int64, err error)
GetAllUserID(ctx context.Context) (userIDs []string, err error)
}