group rpc

This commit is contained in:
withchao
2023-02-09 10:27:55 +08:00
parent ba264e557b
commit 41d62937ff
10 changed files with 333 additions and 347 deletions
+1 -1
View File
@@ -38,5 +38,5 @@ type GroupModelInterface interface {
UpdateStatus(ctx context.Context, groupID string, status int32, tx ...any) (err error)
Find(ctx context.Context, groupIDs []string, tx ...any) (groups []*GroupModel, err error)
Take(ctx context.Context, groupID string, tx ...any) (group *GroupModel, err error)
Search(ctx context.Context, keyword string, pageNumber, showNumber int32, tx ...any) (total int32, groups []*GroupModel, err error)
Search(ctx context.Context, keyword string, pageNumber, showNumber int32, tx ...any) (total uint32, groups []*GroupModel, err error)
}