🐞 fix(gvg): 情报页面区分战区

This commit is contained in:
luying
2023-03-10 14:39:55 +08:00
parent 621608d0cf
commit 9ab737da9c
2 changed files with 3 additions and 3 deletions

View File

@@ -157,8 +157,8 @@ export default class GVGLeaguePrepare extends BaseModel {
return result;
}
public static async getLvRank(configId: number) {
const result: GVGLeaguePrepareType[] = await GVGLeaguePrepareModel.find({ configId }).sort({ lv: -1 }).lean();
public static async getLvRank(configId: number, groupKey: string) {
const result: GVGLeaguePrepareType[] = await GVGLeaguePrepareModel.find({ configId, groupKey }).sort({ lv: -1 }).lean();
return result;
}
}