添加天梯排行榜,修复setHour有时差的bug
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user