UserRegisterCount

This commit is contained in:
withchao
2023-07-03 15:59:42 +08:00
parent 840e79ca16
commit 3de21d13bd
6 changed files with 104 additions and 82 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ type UserModelInterface interface {
GetAllUserID(ctx context.Context) (userIDs []string, err error)
GetUserGlobalRecvMsgOpt(ctx context.Context, userID string) (opt int, err error)
// 获取用户总数
CountTotal(ctx context.Context) (count int64, err error)
CountTotal(ctx context.Context, before *time.Time) (count int64, err error)
// 获取范围内用户增量
CountRangeEverydayTotal(ctx context.Context, start time.Time, end time.Time) (map[string]int64, error)
}