添加天梯排行榜,修复setHour有时差的bug
This commit is contained in:
@@ -41,7 +41,6 @@ export default class PvpDefense extends BaseModel {
|
||||
}
|
||||
|
||||
public static async findByScale(roleId: string, min: number, max: number, lean = true) {
|
||||
console.log(min, max);
|
||||
const result = await PvpDefenseModel.find({ roleId: {$ne: roleId}, ce: { $lte: max, $gte: min } }).sort({updatedAt: -1}).limit(100).lean(lean);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user