演武台:boss血量修改
This commit is contained in:
+1
-1
@@ -699,7 +699,7 @@ export default class Role extends BaseModel {
|
||||
public static async getActivePlayers(serverId: number) {
|
||||
let yesterday = <Date>getTimeFunD().getBeforeDayWithHour(1);
|
||||
const roles: RoleType[] = await RoleModel.find({ serverId, updatedAt: { $gte: yesterday } })
|
||||
.select('topLineup topLineupCe')
|
||||
.select('roleId ce topLineup topLineupCe guildCode hasGuild')
|
||||
.sort({ ce: -1 }).lean();
|
||||
return roles
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user