军团活动:粮草先行部分计算逻辑

This commit is contained in:
luying
2021-03-27 11:02:39 +08:00
parent ca7f9a0b31
commit 2441a8d473
18 changed files with 765 additions and 84 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ declare module 'redis' {
// 返回有序集中指定成员的排名,从大到小
zrevrankAsync(key: string, field: string): Promise<number>;
// 命令返回有序集中,指定区间内的成员,从大到小
zrevrangeAsync(key: string, start: number, end: number): Promise<string[]>;
zrevrangeAsync(key: string, start: number, end: number, withscores?: string): Promise<string[]>;
// 对有序集合中指定成员的分数加上增量 increment
zincrbyAsync(key: string, increment: number, member: string): Promise<number>;
// 对有序集合中指定成员的分数加上增量 increment