fix type = 0

This commit is contained in:
AndrewZuo01 2024-01-05 10:59:22 +08:00
parent 906db0818b
commit ae0cd784d3

View File

@ -204,7 +204,7 @@ func (u *UserMgo) GetAllUserCommand(ctx context.Context, userID string) ([]*user
if err := cursor.Err(); err != nil { if err := cursor.Err(); err != nil {
return nil, err return nil, err
} }
log.ZDebug(ctx, "usercommandget", cursor) log.ZDebug(ctx, "usercommandget", commands)
return commands, nil return commands, nil
} }
func (u *UserMgo) CountRangeEverydayTotal(ctx context.Context, start time.Time, end time.Time) (map[string]int64, error) { func (u *UserMgo) CountRangeEverydayTotal(ctx context.Context, start time.Time, end time.Time) (map[string]int64, error) {