Error code standardization

This commit is contained in:
skiffer-git
2023-02-21 13:14:19 +08:00
parent be1bf240ad
commit 6201e5c206
4 changed files with 30 additions and 12 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)
GetAllUserID(ctx context.Context) (userIDs []string, err error)
PageUserID(ctx context.Context, pageNumber, showNumber int32) (userIDs []string, count int64, err error)
}