🐞 fix(后台): 充值排行榜后续页无法查询
This commit is contained in:
@@ -172,8 +172,8 @@ export default class GMUsers extends Service {
|
||||
{ $unwind: '$role' },
|
||||
{ $project: { _id: 0, roleId: '$_id', roleName: '$role.roleName', guildName: '$role.guildName', serverId: '$role.serverId', lv: '$role.lv', sum: 1, count: 1, max: 1, lastTime: {$dateToString: {format: '%Y-%m-%d %H:%M:%S', date:{$add:['$lastTime',28800000]}}}, env: ctx.app.config.realEnv } },
|
||||
{ $sort: { 'sum': -1 } },
|
||||
{ $limit: pageSize },
|
||||
{ $skip: (page - 1) * pageSize },
|
||||
{ $limit: pageSize },
|
||||
])
|
||||
return ctx.service.utils.resResult(STATUS.SUCCESS, { list })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user