🐞 fix(gvg): 修复零散小问题
This commit is contained in:
@@ -78,8 +78,8 @@ export default class GVGCity extends BaseModel {
|
||||
}
|
||||
|
||||
// 查询联军驻守情况
|
||||
public static async checkLeagueHasGuard(configId: number, leagueCode: string) {
|
||||
return await GVGCityModel.exists({ configId, guardLeague: leagueCode, hasGuard: true });
|
||||
public static async checkLeagueHasGuard(configId: number, groupKey: string, leagueCode: string) {
|
||||
return await GVGCityModel.exists({ configId: { $lte: configId }, groupKey, guardLeague: leagueCode, hasGuard: true });
|
||||
}
|
||||
|
||||
// 查询联军驻守情况
|
||||
|
||||
Reference in New Issue
Block a user