🐞 fix(gvg): 情报页面区分战区
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user