题解点赞功能

This commit is contained in:
masnn committed 2020-04-10 22:05:29 +08:00
1 parent 41261f8c4b
commit 4c2edc3948
5 files changed
+48 -21

No files matched your search

-1
View File
@@ -81,7 +81,6 @@ async function random(query) {
let pdoc = await pdocs.skip(Math.floor(Math.random() * pcount)).limit(1).toArray()[0];
return pdoc.pid;
} else return null;
}
module.exports = {