调整分享图列表查询排序 -》 desc
This commit is contained in:
parent
67bd291c7e
commit
7cd6c6dd4c
@ -87,6 +87,7 @@ router.post('/list', async (req, res, next) => {
|
||||
records = await GameShareImageModel.find(opt)
|
||||
.skip(start)
|
||||
.limit(limit)
|
||||
.sort({createdAt: 'desc'})
|
||||
} else {
|
||||
records = await GameShareImageModel.find(opt)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user