试炼调试数据
This commit is contained in:
@@ -38,7 +38,7 @@ export default class WishPoolReport extends BaseModel {
|
||||
//获得day天之前的许愿池战报
|
||||
public static async getReportsByTime(guildCode: string, day: number, lean = true) {
|
||||
let time = getTodayZeroPoint() - day * 24 * 60;
|
||||
const reports = await WishPoolReportModel.find({ guildCode, dntTime: {$gte: time}});
|
||||
const reports = await WishPoolReportModel.find({ guildCode, dntTime: {$gte: time}}).sort({ dntTime : -1 });
|
||||
return reports;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user