🐞 fix(gvg): 联军信息变动同步
This commit is contained in:
@@ -54,6 +54,10 @@ export default class GVGCityAreaPoint extends BaseModel {
|
||||
let result: GVGCityAreaPointType[] = await GVGCityAreaPointModel.find({ configId, groupKey }).lean();
|
||||
return result
|
||||
}
|
||||
|
||||
public static async updateLeagueName(leagueCode: string, leagueName: string) {
|
||||
await GVGCityAreaPointModel.updateMany({ leagueCode }, { $set: { leagueName }});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user