添加天梯排行榜,修复setHour有时差的bug

This commit is contained in:
luying
2020-11-06 17:31:23 +08:00
parent bd93d9dc1c
commit 04ecef03b5
29 changed files with 285 additions and 148 deletions
-1
View File
@@ -54,7 +54,6 @@ export default class BattleRecord extends BaseModel {
public static async getBattleList( roleId: string, warType: number, lean = true) {
const searchObj = { roleId, warType, status: 1 };
const count = await BattleRecordModel.countDocuments(searchObj);
console.log(roleId, warType, count);
const limit = 1000;
const page = Math.ceil(count/limit);
let result = new Array();