debug接口添加env限制
This commit is contained in:
@@ -273,7 +273,7 @@ export default class ComBattleTeam extends BaseModel {
|
||||
}
|
||||
|
||||
public static async syncTeamData(teamData: {teamCode: string, status: number, roleStatus: RoleStatus[], bossHpArr: BossHp[], endTime?: number}, timeout = false, lean = true) {
|
||||
console.log('syncTeamData bossHpArr: ', teamData.bossHpArr);
|
||||
// console.log('syncTeamData bossHpArr: ', teamData.bossHpArr);
|
||||
const team: ComBattleTeamType = await ComBattleTeamModel.findOneAndUpdate({ teamCode: teamData.teamCode }, {$set :{...teamData, roleCnt: teamData.roleStatus.length, timeout}}, {new: true}).lean(lean);
|
||||
return team;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user