活动:军团资金排行榜
This commit is contained in:
@@ -55,6 +55,7 @@ export default class Activity_Time_Limit_Rank extends BaseModel {
|
||||
public static async getRank(serverId: number, activityId: number) {
|
||||
let rec: ActivityTimeLimitRankModelType[] = await ActivityTimeLimitRankModel.find({ serverId, activityId })
|
||||
.populate('role').populate('guild')
|
||||
.populate('leader', { roleId: 1, roleName: 1, head: 1, frame: 1, spine: 1, lv: 1, quitTime: 1, ce: 1, title: 1, _id: 0 }, 'Role')
|
||||
.sort({ score: -1, time: 1 }).lean();
|
||||
return rec;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user