🐞 fix(gvg): 排行榜添加
This commit is contained in:
@@ -205,8 +205,8 @@ export default class GVGTeam extends BaseModel {
|
||||
return team;
|
||||
}
|
||||
|
||||
public static async findRobotTeams(groupKey: string, cityId: number) {
|
||||
const team: GVGTeamType[] = await GVGTeamModel.find({ groupKey, cityId, isRobot: true }).lean();
|
||||
public static async findRobotTeams(configId: number, groupKey: string, cityId: number) {
|
||||
const team: GVGTeamType[] = await GVGTeamModel.find({ configId, groupKey, cityId, isRobot: true }).lean();
|
||||
return team;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user