🐞 fix(排行榜): 排行榜显示不查全部玩家只显示部分玩家

This commit is contained in:
luying
2023-05-06 17:59:16 +08:00
parent 76877348ba
commit 190897d711
3 changed files with 18 additions and 7 deletions

View File

@@ -62,6 +62,8 @@ declare module 'redis' {
zrevrankAsync(key: string, field: string): Promise<number>;
// 命令返回有序集中,指定区间内的成员,从大到小
zrevrangeAsync(key: string, start: number, end: number, withscores?: string): Promise<string[]>;
// 命令返回有序集中,指定区间内的成员,从小到大
zrangeAsync(key: string, start: number, end: number, withscores?: string): Promise<string[]>;
// 对有序集合中指定成员的分数加上增量 increment
zincrbyAsync(key: string, increment: number, member: string): Promise<number>;
// 对有序集合中指定成员的分数加上增量 increment