添加天梯排行榜,修复setHour有时差的bug
This commit is contained in:
@@ -56,7 +56,6 @@ export default class ExpeditionRecord extends BaseModel {
|
||||
pushArr.push({hid: actorId, hp, ap})
|
||||
}
|
||||
}
|
||||
console.log(JSON.stringify(oldHeroes), JSON.stringify(heroes), JSON.stringify(pushArr), JSON.stringify(updateArr))
|
||||
for(let {hid, hp, ap} of updateArr) {
|
||||
await ExpeditionRecordModel.findOneAndUpdate(
|
||||
{expeditionCode, 'heroes.hid': hid },
|
||||
|
||||
Reference in New Issue
Block a user