查询时,采用默认排序

This commit is contained in:
zhl 2019-04-03 17:34:55 +08:00
parent 08c0724816
commit 78b6529a84

View File

@ -195,7 +195,7 @@ const parseAllBookList = async (sex, ltype) => {
'data.ltype_id': ltype, 'data.ltype_id': ltype,
status: 0, status: 0,
type: 'book' type: 'book'
}).sort({'data.book_id': 1}); });
for(let book of bookList) { for(let book of bookList) {
generalQueue.addQueue({ generalQueue.addQueue({
run: async function () { run: async function () {