练兵场:修复高阶刷新问题

This commit is contained in:
luying
2022-07-04 17:40:59 +08:00
parent 699a2a174d
commit fd0439936c
2 changed files with 2 additions and 2 deletions
@@ -197,7 +197,7 @@ export async function resetTrain(code: string, serverId: number) {
await sendMessageToGuildWithSuc(code, PUSH_ROUTE.GUILD_TRAIN_RESET, {});
await GuildTrainModel.resetGuildTrain(code);//将开启的练兵场锁定
await unlockTrain(code, 1);//开启练兵场1级
await unlockTrain(code, guild.trainId);//开启练兵场1级
await UserGuildModel.resetTrainUserGuild(code);//重置玩家的挑战次数和购买挑战次数
return trainId
}