增加总榜的查询
This commit is contained in:
parent
9a81f5c5e0
commit
ce419f52ce
@ -154,7 +154,7 @@ export async function updateSingleRank({shop, level, accountId, score, session,
|
|||||||
|
|
||||||
export async function getRank({shop, level, accountId, mode, skip, limit }
|
export async function getRank({shop, level, accountId, mode, skip, limit }
|
||||||
: {shop: string,
|
: {shop: string,
|
||||||
level: number,
|
level: number | string,
|
||||||
accountId: string,
|
accountId: string,
|
||||||
mode: number, skip: number, limit: number}) {
|
mode: number, skip: number, limit: number}) {
|
||||||
// let records = await PuzzleRank.find({shop, level, mode}).limit(limit).skip(skip).sort({'score': -1})
|
// let records = await PuzzleRank.find({shop, level, mode}).limit(limit).skip(skip).sort({'score': -1})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user